fixes
This commit is contained in:
@@ -165,8 +165,8 @@ class ActionProcessor
|
||||
|
||||
if (
|
||||
!$type ||
|
||||
$type->isBuiltin() ||
|
||||
!$type instanceof ReflectionNamedType
|
||||
!$type instanceof ReflectionNamedType ||
|
||||
$type->isBuiltin()
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -83,8 +83,8 @@ class BindingContainer
|
||||
|
||||
if (
|
||||
$type &&
|
||||
!$type->isBuiltin() &&
|
||||
$type instanceof ReflectionNamedType
|
||||
$type instanceof ReflectionNamedType &&
|
||||
!$type->isBuiltin()
|
||||
) {
|
||||
$dependencyClassName = $type->getName();
|
||||
}
|
||||
|
||||
@@ -158,8 +158,8 @@ class InjectableFactory
|
||||
|
||||
if (
|
||||
$type &&
|
||||
!$type->isBuiltin() &&
|
||||
$type instanceof ReflectionNamedType
|
||||
$type instanceof ReflectionNamedType &&
|
||||
!$type->isBuiltin()
|
||||
) {
|
||||
try {
|
||||
$dependencyClass = new ReflectionClass($type->getName());
|
||||
@@ -342,8 +342,8 @@ class InjectableFactory
|
||||
|
||||
if (
|
||||
$type &&
|
||||
!$type->isBuiltin() &&
|
||||
$type instanceof ReflectionNamedType
|
||||
$type instanceof ReflectionNamedType &&
|
||||
!$type->isBuiltin()
|
||||
) {
|
||||
$paramClass = new ReflectionClass($type->getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user