From ad09e832461edd0dd85d6b890403f43957d3e856 Mon Sep 17 00:00:00 2001 From: lyan <49744633+zds-s@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:23:18 +0800 Subject: [PATCH] fix jwt factory configuration merge order (#131) * fix jwt factory configuration merge order * Apply cs fix * ci: remove json-fix script and composer json checks - Remove json-fix script from composer.json - Remove Check Composer Json step from GitHub Actions workflow --- src/Command/CreateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/CreateCommand.php b/src/Command/CreateCommand.php index afb8006..56113fb 100644 --- a/src/Command/CreateCommand.php +++ b/src/Command/CreateCommand.php @@ -63,7 +63,7 @@ public function __invoke(): int public function createNamespace(string $path, string $name): string { $pluginPath = Str::replace(Plugin::PLUGIN_PATH . '/', '', $path); - list($orgName) = explode('/', $pluginPath); + [$orgName] = explode('/', $pluginPath); return 'Plugin\\' . Str::studly($orgName) . '\\' . Str::studly($name); }