[TASK] Make ClassNamingUtilityTest notice free
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Utility / ClassNamingUtility.php
index 197f306..9ba2930 100644 (file)
@@ -105,6 +105,6 @@ class ClassNamingUtility
             );
         }
 
-        return $matches;
+        return array_filter($matches, 'is_string', ARRAY_FILTER_USE_KEY);
     }
 }