Skip to content

Commit

Permalink
Add Route::inertia() IDE helper (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycs77 authored Jan 17, 2023
1 parent fe89e08 commit 45033ed
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions _ide_helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,25 @@ class TestResponse
//
}
}

namespace Illuminate\Support\Facades {

/**
* @method static self inertia(string $uri, string $component, array $props = [])
*/
class Route
{
//
}
}

namespace Illuminate\Routing {

/**
* @method self inertia(string $uri, string $component, array $props = [])
*/
class Router
{
//
}
}

0 comments on commit 45033ed

Please sign in to comment.