Skip to content

Commit 8954c01

Browse files
authored
Added comment
1 parent ad29886 commit 8954c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Configurator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ private function isOnInsertGeneratedField(Field $field): bool
422422

423423
private function propertyBelongsToOtherEntity(\ReflectionClass $currentClass, \ReflectionClass $declaringClass): bool
424424
{
425+
// if the current class is the same as declaring class, than the property belongs to current Entity
425426
if ($currentClass->getName() === $declaringClass->getName()) {
426427
return false;
427428
}

0 commit comments

Comments
 (0)