8000 Fix rebase · symfony/symfony@8c34d6d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c34d6d

Browse files
committed
Fix rebase
1 parent 6d46fd1 commit 8c34d6d

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
@@ -201,7 +201,7 @@ private function autowireMethod($id, Definition $definition, \ReflectionMethod $
201201

202202
if (!$parameter->isDefaultValueAvailable()) {
203203
if ($isConstructor) {
204-
throw new RuntimeException(sprintf('Cannot autowire argument %s for %s because the type-hinted class does not exist (%s).', $index + 1, $definition->getClass(), $reflectionException->getMessage()), 0, $reflectionException);
204+
throw new RuntimeException(sprintf('Cannot autowire argument %s for %s because the type-hinted class does not exist (%s).', $index + 1, $definition->getClass(), $e->getMessage()), 0, $e);
205205
}
206206

207207
return;

0 commit comments

Comments
 (0)
0