Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 6b26b6d

Browse files
committed
Make Psalm happy
1 parent af07694 commit 6b26b6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/EventListener/LogRevisionsListener.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ public function postFlush(PostFlushEventArgs $eventArgs): void
162162

163163
$columnName = $meta->associationMappings[$idField]['joinColumns'][0]['name'];
164164

165+
\assert(\array_key_exists(0, $foreignIdFields));
166+
165167
$reflField = $foreignMeta->reflFields[$foreignIdFields[0]];
166168

167169
\assert(null !== $reflField);

0 commit comments

Comments
 (0)