Skip to content
Permalink
Browse files

DependencyChecker: uses ReflectionNamedType

  • Loading branch information...
dg committed Mar 15, 2019
1 parent 805e3c8 commit 9eb7e7cd479e21576440b7d6048754043fcd0614
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/DI/DependencyChecker.php
@@ -122,7 +122,7 @@ class_uses($name),
$method->getDocComment(),
self::hashParameters($method),
$method->hasReturnType()
? [(string) $method->getReturnType(), $method->getReturnType()->allowsNull()]
? [$method->getReturnType()->getName(), $method->getReturnType()->allowsNull()]
: null,
];
}
@@ -148,7 +148,7 @@ class_uses($name),
$method->getDocComment(),
self::hashParameters($method),
$method->hasReturnType()
? [(string) $method->getReturnType(), $method->getReturnType()->allowsNull()]
? [$method->getReturnType()->getName(), $method->getReturnType()->allowsNull()]
: null,
];
}

0 comments on commit 9eb7e7c

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.