Skip to content

Commit

Permalink
refactor: Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Sep 10, 2024
1 parent cbbb09c commit 2b98ff9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion routes/permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

declare(strict_types=1);

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use MoonShine\Laravel\Http\Middleware\Authenticate;
use MoonShine\Permissions\Http\Controllers\PermissionController;

Route::moonshine(static function ($r) {
Route::moonshine(static function (Router $r) {
$r->post(
'permissions/{resourceItem}',
PermissionController::class
Expand Down
2 changes: 1 addition & 1 deletion src/PermissionsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
final class PermissionsServiceProvider extends ServiceProvider
{
/**
* @param ConfiguratorContract<MoonShineConfigurator> $configurator
* @param MoonShineConfigurator $configurator
*/
public function boot(ConfiguratorContract $configurator): void
{
Expand Down

0 comments on commit 2b98ff9

Please sign in to comment.