Skip to content

Commit 2f32553

Browse files
committed
feat: add PHP native type hints
1 parent 16433c3 commit 2f32553

File tree

5 files changed

+6004
-14
lines changed

5 files changed

+6004
-14
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text=auto
1+
* text=auto eol=lf
22
/.github export-ignore
33
.scrutinizer.yml export-ignore
44
BACKERS.md export-ignore

app/Commands/InspireCommand.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ public function handle()
4141

4242
/**
4343
* Define the command's schedule.
44-
*
45-
* @param \Illuminate\Console\Scheduling\Schedule $schedule
46-
* @return void
4744
*/
48-
public function schedule(Schedule $schedule)
45+
public function schedule(Schedule $schedule): void
4946
{
5047
// $schedule->command(static::class)->everyMinute();
5148
}

app/Providers/AppServiceProvider.php

+2-6
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,16 @@ class AppServiceProvider extends ServiceProvider
88
{
99
/**
1010
* Bootstrap any application services.
11-
*
12-
* @return void
1311
*/
14-
public function boot()
12+
public function boot(): void
1513
{
1614
//
1715
}
1816

1917
/**
2018
* Register any application services.
21-
*
22-
* @return void
2319
*/
24-
public function register()
20+
public function register(): void
2521
{
2622
//
2723
}

0 commit comments

Comments
 (0)