@@ -41,8 +41,7 @@ discard block |
||
| 41 | 41 | if (!static::$reflectionComposite) |
| 42 | 42 | { |
| 43 | 43 | static::$reflectionComposite = |
| 44 | - ReflectionCompositeFactory::fromClassName |
|
| 45 | - ( |
|
| 44 | + ReflectionCompositeFactory::fromClassName( |
|
| 46 | 45 | get_called_class() |
| 47 | 46 | ) |
| 48 | 47 | ->build(); |
@@ -54,8 +53,7 @@ discard block |
||
| 54 | 53 | /** |
| 55 | 54 | * Set the default ReflectionComposite for this class |
| 56 | 55 | */ |
| 57 | - protected static function setDefaultReflectionComposite |
|
| 58 | - ( |
|
| 56 | + protected static function setDefaultReflectionComposite( |
|
| 59 | 57 | ReflectionComposite $defaultReflectionComposite |
| 60 | 58 | ) |
| 61 | 59 | { |
@@ -92,8 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | else |
| 94 | 94 | { |
| 95 | - $index = $this->reflect->generics->indexOfKey |
|
| 96 | - ( |
|
| 95 | + $index = $this->reflect->generics->indexOfKey( |
|
| 97 | 96 | $param->type->name |
| 98 | 97 | ); |
| 99 | 98 | |
@@ -53,8 +53,7 @@ |
||
| 53 | 53 | |
| 54 | 54 | public function compare($type) : int |
| 55 | 55 | { |
| 56 | - if |
|
| 57 | - ( |
|
| 56 | + if ( |
|
| 58 | 57 | $type instanceof ObjectType && |
| 59 | 58 | $type->classname === $this->classname && |
| 60 | 59 | $type->generics->size() <= $this->generics->size() |