@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | self::assertSame( |
39 | 39 | $expectedMessages, |
40 | - array_map(static function (Change $change) : string { |
|
40 | + array_map(static function(Change $change) : string { |
|
41 | 41 | return $change->__toString(); |
42 | 42 | }, iterator_to_array($changes)) |
43 | 43 | ); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | array_keys($properties), |
129 | 129 | array_map( |
130 | 130 | /** @psalm-param list<string> $errorMessages https://github.com/vimeo/psalm/issues/2772 */ |
131 | - static function (string $methodName, array $errorMessages) use ($fromClass, $toClass) : array { |
|
131 | + static function(string $methodName, array $errorMessages) use ($fromClass, $toClass) : array { |
|
132 | 132 | return [ |
133 | 133 | $fromClass->getMethod($methodName), |
134 | 134 | $toClass->getMethod($methodName), |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | self::assertSame( |
39 | 39 | $expectedMessages, |
40 | - array_map(static function (Change $change) : string { |
|
40 | + array_map(static function(Change $change) : string { |
|
41 | 41 | return $change->__toString(); |
42 | 42 | }, iterator_to_array($changes)) |
43 | 43 | ); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | array_keys($properties), |
129 | 129 | array_map( |
130 | 130 | /** @psalm-param list<string> $errorMessages https://github.com/vimeo/psalm/issues/2772 */ |
131 | - static function (string $methodName, array $errorMessages) use ($fromClass, $toClass) : array { |
|
131 | + static function(string $methodName, array $errorMessages) use ($fromClass, $toClass) : array { |
|
132 | 132 | return [ |
133 | 133 | $fromClass->getMethod($methodName), |
134 | 134 | $toClass->getMethod($methodName), |