File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,12 @@ private static function getRealClass(string $class): string
200200 return substr ($ class , $ pos + Proxy::MARKER_LENGTH + 2 );
201201 }
202202
203- private static function getMappingValue (array |JoinColumnMapping $ mapping , string $ key ): mixed
203+ /**
204+ * @param array|JoinColumnMapping $mapping
205+ *
206+ * @return mixed
207+ */
208+ private static function getMappingValue ($ mapping , string $ key )
204209 {
205210 if ($ mapping instanceof JoinColumnMapping) {
206211 return $ mapping ->$ key ;
Original file line number Diff line number Diff line change @@ -306,7 +306,12 @@ private function getPhpType(string $doctrineType): ?string
306306 return null ;
307307 }
308308
309- private static function getMappingValue (array |AssociationMapping |EmbeddedClassMapping |FieldMapping |JoinColumnMapping $ mapping , string $ key ): mixed
309+ /**
310+ * @param array|AssociationMapping|EmbeddedClassMapping|FieldMapping|JoinColumnMapping $mapping
311+ *
312+ * @return mixed
313+ */
314+ private static function getMappingValue ($ mapping , string $ key )
310315 {
311316 if ($ mapping instanceof AssociationMapping || $ mapping instanceof EmbeddedClassMapping || $ mapping instanceof FieldMapping || $ mapping instanceof JoinColumnMapping) {
312317 return $ mapping ->$ key ;
Original file line number Diff line number Diff line change @@ -140,7 +140,12 @@ private function getExistingUniqueFields(ClassMetadata $metadata): array
140140 return $ fields ;
141141 }
142142
143- private static function getFieldMappingValue (array |FieldMapping $ mapping , string $ key ): mixed
143+ /**
144+ * @param array|FieldMapping $mapping
145+ *
146+ * @return mixed
147+ */
148+ private static function getFieldMappingValue ($ mapping , string $ key )
144149 {
145150 if ($ mapping instanceof FieldMapping) {
146151 return $ mapping ->$ key ;
You can’t perform that action at this time.
0 commit comments