Skip to content

Commit 3473fca

Browse files
committed
Add a comment
1 parent 8add1b4 commit 3473fca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Orm/EntityRepository.php

+1
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ private function getSearchablePropertiesConfig(QueryBuilder $queryBuilder, Searc
314314
$idClassType = null;
315315
$reflectionClass = new \ReflectionClass($entityFqcn);
316316

317+
// this is needed to handle inherited properties
317318
while (false !== $reflectionClass) {
318319
if ($reflectionClass->hasProperty($propertyName)) {
319320
$reflection = $reflectionClass->getProperty($propertyName);

0 commit comments

Comments
 (0)