Skip to content

Commit d562929

Browse files
Merge branch '2.8' into 3.4
* 2.8: PropertyInfo\DoctrineExtractor - There is bug when indexBy is meta key [minor] SCA
2 parents 76f090f + 1f7dbc5 commit d562929

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Mapping/Factory/LazyLoadingMetadataFactory.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ public function hasMetadataFor($value)
160160

161161
$class = ltrim(is_object($value) ? get_class($value) : $value, '\\');
162162

163-
if (class_exists($class) || interface_exists($class)) {
164-
return true;
165-
}
166-
167-
return false;
163+
return class_exists($class) || interface_exists($class, false);
168164
}
169165
}

0 commit comments

Comments
 (0)