|
@@ -49,7 +49,7 @@ |
|
|
block discarded – undo |
|
49
|
49
|
* - `MyType[]|null` |
|
50
|
50
|
* - `Collection<int, MyType>` |
|
51
|
51
|
*/ |
|
52
|
|
- final protected function getTypeFromPhpDeclaration(ReflectionClass $class, null|string|Type $typeDeclaration, bool $isEntityId = false): null|Type |
|
|
52
|
+ final protected function getTypeFromPhpDeclaration(ReflectionClass $class, null | string | Type $typeDeclaration, bool $isEntityId = false): null | Type |
|
53
|
53
|
{ |
|
54
|
54
|
if ($typeDeclaration === null || $typeDeclaration instanceof Type) { |
|
55
|
55
|
return $typeDeclaration; |
Please login to merge, or discard this patch.