We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7598084 + 6521dc9 commit 97c10dbCopy full SHA for 97c10db
src/Drupal/DrupalAutoloader.php
@@ -175,7 +175,7 @@ public function register(Container $container): void
175
// and thinking these are real services for PHPStan's container.
176
if (isset($serviceDefinition['arguments']) && is_array($serviceDefinition['arguments'])) {
177
array_walk($serviceDefinition['arguments'], function (&$argument) : void {
178
- if (is_array($argument)) {
+ if (is_array($argument) || !is_string($argument)) {
179
// @todo fix for @http_kernel.controller.argument_metadata_factory
180
$argument = '';
181
} else {
0 commit comments