From bb8292e5f0d0f4f95c2b0ad1399a633196ba30c0 Mon Sep 17 00:00:00 2001 From: SimonBroekaert Date: Fri, 22 Aug 2025 02:14:46 +0200 Subject: [PATCH] feat: add changes to support toBeCasedCorrectly arch test assertion --- src/Support/Composer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Support/Composer.php b/src/Support/Composer.php index eb7729a..256af0b 100644 --- a/src/Support/Composer.php +++ b/src/Support/Composer.php @@ -15,7 +15,7 @@ final class Composer /** * Gets the list of namespaces defined in the "composer.json" file. * - * @return array + * @return array */ public static function userNamespaces(): array { @@ -39,7 +39,7 @@ public static function userNamespaces(): array continue; } - $namespaces[] = rtrim($namespace, '\\'); + $namespaces[$directory] = rtrim($namespace, '\\'); } }