@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Checks if the given class is equal to this one |
| 27 | 27 | * |
| 28 | - * @param Type $oject |
|
| 28 | + * @param Type $object |
|
| 29 | 29 | * @return boolean |
| 30 | 30 | */ |
| 31 | 31 | public function equals($object) : bool; |
@@ -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() |