8000 Revert useless change · symfony/symfony@4bdbe3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 4bdbe3d

Browse files
committed
Revert useless change
1 parent 33dfae5 commit 4bdbe3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ private function autowireMethod(\ReflectionFunctionAbstract $reflectionMethod, a
302302
$type = ProxyHelper::getTypeHint($reflectionMethod, $parameter, false);
303303
$type = $type ? sprintf('is type-hinted "%s"', ltrim($type, '\\')) : 'has no type-hint';
304304

305-
throw new AutowiringFailedException($this->currentId, sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" "%s", you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class.'::'.$method : $method, $type));
305+
throw new AutowiringFailedException($this->currentId, sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class.'::'.$method : $method, $type));
306306
}
307307

308308
// specifically pass the default value

0 commit comments

Comments
 (0)
0