Skip to content

Commit d49b9b9

Browse files
Fix styling
1 parent 5eae177 commit d49b9b9

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

packages/core/src/Installer/Installers/PluginInstaller.php

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,18 @@ protected function createNewPanel(): ?string
264264
required: true
265265
);
266266

267-
try {
268-
Artisan::call('make:filament-panel', [
269-
'id' => $panelName,
270-
'--force' => true,
271-
]);
272-
} catch (FailureCommandOutput) {
273-
warning("Failed to create panel: {$panelName}");
274-
return null;
275-
}
276-
return $panelName;
267+
try {
268+
Artisan::call('make:filament-panel', [
269+
'id' => $panelName,
270+
'--force' => true,
271+
]);
272+
} catch (FailureCommandOutput) {
273+
warning("Failed to create panel: {$panelName}");
274+
275+
return null;
276+
}
277+
278+
return $panelName;
277279
}
278280

279281
protected function registerPluginsInPanel(array $pluginClasses, string $panelPath): void

0 commit comments

Comments
 (0)