@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes |
| 21 | 21 | { |
| 22 | - return Changes::fromIterator((function () use ($fromMethod, $toMethod) { |
|
| 22 | + return Changes::fromIterator((function() use ($fromMethod, $toMethod) { |
|
| 23 | 23 | foreach ($this->checks as $check) { |
| 24 | 24 | yield from $check->__invoke($fromMethod, $toMethod); |
| 25 | 25 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionClass $fromInterface, ReflectionClass $toInterface) : Changes |
| 21 | 21 | { |
| 22 | - return Changes::fromIterator((function () use ($fromInterface, $toInterface) { |
|
| 22 | + return Changes::fromIterator((function() use ($fromInterface, $toInterface) { |
|
| 23 | 23 | foreach ($this->checks as $check) { |
| 24 | 24 | yield from $check->__invoke($fromInterface, $toInterface); |
| 25 | 25 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionProperty $fromProperty, ReflectionProperty $toProperty) : Changes |
| 21 | 21 | { |
| 22 | - return Changes::fromIterator((function () use ($fromProperty, $toProperty) { |
|
| 22 | + return Changes::fromIterator((function() use ($fromProperty, $toProperty) { |
|
| 23 | 23 | foreach ($this->checks as $check) { |
| 24 | 24 | yield from $check->__invoke($fromProperty, $toProperty); |
| 25 | 25 | } |