Skip to content

Commit 6a604f8

Browse files
Merge branch '3.4' into 4.1
* 3.4: [DI] configure inlined services before injecting them when dumping the container Consistently throw exceptions on a single line fix fopen calls Update .editorconfig
2 parents d96a109 + 578de86 commit 6a604f8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Routing/Router.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,7 @@ private function resolve($value)
170170
return (string) $resolved;
171171
}
172172

173-
throw new RuntimeException(sprintf(
174-
'The container parameter "%s", used in the route configuration value "%s", '.
175-
'must be a string or numeric, but it is of type %s.',
176-
$match[1],
177-
$value,
178-
\gettype($resolved)
179-
)
180-
);
173+
throw new RuntimeException(sprintf('The container parameter "%s", used in the route configuration value "%s", must be a string or numeric, but it is of type %s.', $match[1], $value, \gettype($resolved)));
181174
}, $value);
182175

183176
return str_replace('%%', '%', $escapedValue);

0 commit comments

Comments
 (0)