File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 "illuminate/view" : " 11.*|12.*"
3535 },
3636 "require-dev" : {
37- "orchestra/testbench" : " 9.* |10.*" ,
37+ "orchestra/testbench" : " ^9.15.0 |10.*" ,
3838 "inertiajs/inertia-laravel" : " ^2.0"
3939 },
4040 "autoload" : {
Original file line number Diff line number Diff line change @@ -45,20 +45,18 @@ class AlertCreateCommand extends GeneratorCommand implements PromptsForMissingIn
4545
4646 /**
4747 * Execute the console command.
48- *
49- * @return void
5048 */
51- public function handle (): void
49+ public function handle (): bool
5250 {
5351 if (parent ::handle () === false && ! $ this ->option ('force ' )) {
54- return ;
52+ return false ;
5553 }
5654
57- if ($ this ->withoutView ()) {
58- return ;
55+ if (! $ this ->withoutView ()) {
56+ $ this -> writeBladeView () ;
5957 }
6058
61- $ this -> writeBladeView () ;
59+ return true ;
6260 }
6361
6462 /**
Original file line number Diff line number Diff line change 22
33namespace Tests ;
44
5- use Inertia \ServiceProvider ;
5+ use Inertia \ServiceProvider as InertiaServiceProvider ;
66use Laragear \Alerts \AlertsServiceProvider ;
77use Laragear \Alerts \Facades \Alert ;
88use Orchestra \Testbench \TestCase as BaseTestCase ;
@@ -18,6 +18,6 @@ protected function getPackageAliases($app): array
1818
1919 protected function getPackageProviders ($ app ): array
2020 {
21- return [AlertsServiceProvider::class, ServiceProvider ::class];
21+ return [AlertsServiceProvider::class, InertiaServiceProvider ::class];
2222 }
2323}
You can’t perform that action at this time.
0 commit comments