File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3131use Doctrine \ORM \Event \OnFlushEventArgs ;
3232use Doctrine \ORM \Event \PreUpdateEventArgs ;
3333use Doctrine \ORM \Mapping \AssociationMapping ;
34- use Doctrine \ORM \Mapping \ClassMetadataInfo ;
34+ use Doctrine \ORM \Mapping \ClassMetadata ;
3535use Doctrine \ORM \PersistentCollection ;
3636use FOS \HttpCacheBundle \CacheManager ;
3737use Symfony \Component \PropertyAccess \PropertyAccessorInterface ;
@@ -121,7 +121,7 @@ public function postFlush(): void {
121121 private function addTagsForManyToManyRelations ($ collection , $ entities ) {
122122 $ associationMapping = $ collection ->getMapping ();
123123
124- if (ClassMetadataInfo ::MANY_TO_MANY !== $ associationMapping ['type ' ]) {
124+ if (ClassMetadata ::MANY_TO_MANY !== $ associationMapping ['type ' ]) {
125125 return ;
126126 }
127127
You can’t perform that action at this time.
0 commit comments