Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d88884

Browse files
Fix merge
1 parent 3a5edba commit 0d88884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mapping/Loader/AttributeLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function loadClassMetadata(ClassMetadataInterface $classMetadata): bool
163163

164164
$attributeMetadata->setSerializedPath($attribute->getSerializedPath());
165165
} elseif ($attribute instanceof Ignore) {
166-
if (!$attributeMetadata) {
166+
if ($attributeMetadata) {
167167
$attributeMetadata->setIgnore(true);
168168
}
169169
} elseif ($attribute instanceof Context) {

0 commit comments

Comments
 (0)