@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | public function __invoke(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes |
| 20 | 20 | { |
| 21 | - if ($fromClass->isTrait() || ! $toClass->isTrait()) { |
|
| 21 | + if ($fromClass->isTrait() || !$toClass->isTrait()) { |
|
| 22 | 22 | return Changes::empty(); |
| 23 | 23 | } |
| 24 | 24 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | |
| 75 | 75 | private function typeToString(?ReflectionType $type) : string |
| 76 | 76 | { |
| 77 | - if (! $type) { |
|
| 77 | + if (!$type) { |
|
| 78 | 78 | return 'no type'; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | |
| 75 | 75 | private function typeToString(?ReflectionType $type) : string |
| 76 | 76 | { |
| 77 | - if (! $type) { |
|
| 77 | + if (!$type) { |
|
| 78 | 78 | return 'no type'; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | |
| 75 | 75 | private function typeToString(?ReflectionType $type) : string |
| 76 | 76 | { |
| 77 | - if (! $type) { |
|
| 77 | + if (!$type) { |
|
| 78 | 78 | return 'no type'; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | |
| 75 | 75 | private function typeToString(?ReflectionType $type) : string |
| 76 | 76 | { |
| 77 | - if (! $type) { |
|
| 77 | + if (!$type) { |
|
| 78 | 78 | return 'no type'; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function __invoke(ReflectionClass $fromTrait, ReflectionClass $toTrait) : Changes |
| 19 | 19 | { |
| 20 | - if ($toTrait->isTrait() || ! $toTrait->isInterface() || ! $fromTrait->isTrait()) { |
|
| 20 | + if ($toTrait->isTrait() || !$toTrait->isInterface() || !$fromTrait->isTrait()) { |
|
| 21 | 21 | return Changes::empty(); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | public function __invoke(ReflectionClass $fromTrait, ReflectionClass $toTrait) : Changes |
| 19 | 19 | { |
| 20 | - if ($this->isClass($fromTrait) || ! $this->isClass($toTrait)) { |
|
| 20 | + if ($this->isClass($fromTrait) || !$this->isClass($toTrait)) { |
|
| 21 | 21 | return Changes::empty(); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -32,6 +32,6 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | private function isClass(ReflectionClass $class) : bool |
| 34 | 34 | { |
| 35 | - return ! ($class->isTrait() || $class->isInterface()); |
|
| 35 | + return !($class->isTrait() || $class->isInterface()); |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionProperty $fromProperty, ReflectionProperty $toProperty) : Changes |
| 21 | 21 | { |
| 22 | - if (! $fromProperty->isProtected()) { |
|
| 22 | + if (!$fromProperty->isProtected()) { |
|
| 23 | 23 | return Changes::empty(); |
| 24 | 24 | } |
| 25 | 25 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionProperty $fromProperty, ReflectionProperty $toProperty) : Changes |
| 21 | 21 | { |
| 22 | - if (! $fromProperty->isPublic()) { |
|
| 22 | + if (!$fromProperty->isPublic()) { |
|
| 23 | 23 | return Changes::empty(); |
| 24 | 24 | } |
| 25 | 25 | |