Skip to content

Commit 278dfa4

Browse files
remove needless typehints
1 parent fb6a8d1 commit 278dfa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/InertiaJsPreset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected static function updateGitignore()
6969

7070
protected static function scaffoldComponents()
7171
{
72-
tap(new Filesystem, function (Filesystem $fs) {
72+
tap(new Filesystem, function ($fs) {
7373
$fs->deleteDirectory(resource_path('js/components'));
7474

7575
$fs->copyDirectory(__DIR__.'/inertiajs-stubs/resources/js/Shared', resource_path('js/Shared'));

src/InertiaJsPresetServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class InertiaJsPresetServiceProvider extends ServiceProvider
99
{
1010
public function boot()
1111
{
12-
UiCommand::macro('inertiajs', function (UiCommand $command) {
12+
UiCommand::macro('inertiajs', function ($command) {
1313
InertiaJsPreset::install();
1414

1515
$command->info('Inertia.js scaffolding installed successfully.');

0 commit comments

Comments
 (0)