Skip to content

Commit 87c2d52

Browse files
Merge branch '3.4' into 4.0
* 3.4: Fix tests PropertyInfo\DoctrineExtractor - There is bug when indexBy is meta key Fix PercentType error rendering. [minor] SCA [Cache] Inline some hot function calls
2 parents 2c146fc + d562929 commit 87c2d52

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)