@@ -454,6 +454,7 @@ protected function installAllPlugins(): void
454454
455455 if (empty ($ allPlugins )) {
456456 $ this ->warn ('⚠️ No valid plugin classes found ' );
457+
457458 return ;
458459 }
459460
@@ -476,7 +477,7 @@ protected function installAllPlugins(): void
476477
477478 // Step 2: Ask if all plugins should be installed
478479 $ pluginOptions = array_values ($ allPlugins );
479-
480+
480481 if (empty ($ pluginOptions )) {
481482 $ this ->info ('✅ All plugins have been installed ' );
482483 break ;
@@ -505,7 +506,7 @@ protected function installAllPlugins(): void
505506 // Install selected plugins
506507 if (! empty ($ selectedPlugins )) {
507508 $ this ->installResolvedPlugins ($ selectedPlugins , $ panelPath );
508-
509+
509510 // Remove installed plugins from available list
510511 foreach ($ selectedPlugins as $ pluginClass ) {
511512 unset($ allPlugins [$ pluginClass ]);
@@ -730,6 +731,7 @@ protected function selectOrCreatePanel(): ?string
730731 if ($ this ->confirm ('No panels found. Create a new panel? ' , true )) {
731732 return $ this ->createNewPanel ();
732733 }
734+
733735 return null ;
734736 }
735737
@@ -852,6 +854,7 @@ protected function createNewPanel(): string
852854 if (! in_array ($ file ->getFilename (), $ filesBefore ) &&
853855 str_ends_with ($ file ->getFilename (), 'PanelProvider.php ' )) {
854856 $ this ->info ("✅ Panel created: {$ panelName }" );
857+
855858 return $ file ->getPathname ();
856859 }
857860 }
@@ -863,7 +866,6 @@ protected function createNewPanel(): string
863866 }
864867 }
865868
866-
867869 /**
868870 * Install already-resolved plugin classes into a panel file.
869871 */
0 commit comments