@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | return array_reduce( |
24 | 24 | $this->checks, |
25 | - function (Changes $changes, TraitBased $check) use ($fromTrait, $toTrait) : Changes { |
|
25 | + function(Changes $changes, TraitBased $check) use ($fromTrait, $toTrait) : Changes { |
|
26 | 26 | return $changes->mergeWith($check($fromTrait, $toTrait)); |
27 | 27 | }, |
28 | 28 | Changes::empty() |
@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | return array_reduce( |
24 | 24 | $this->checks, |
25 | - function (Changes $changes, PropertyBased $check) use ($fromProperty, $toProperty) : Changes { |
|
25 | + function(Changes $changes, PropertyBased $check) use ($fromProperty, $toProperty) : Changes { |
|
26 | 26 | return $changes->mergeWith($check($fromProperty, $toProperty)); |
27 | 27 | }, |
28 | 28 | Changes::empty() |
@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | return array_reduce( |
24 | 24 | $this->checks, |
25 | - function (Changes $changes, MethodBased $check) use ($fromMethod, $toMethod) : Changes { |
|
25 | + function(Changes $changes, MethodBased $check) use ($fromMethod, $toMethod) : Changes { |
|
26 | 26 | return $changes->mergeWith($check($fromMethod, $toMethod)); |
27 | 27 | }, |
28 | 28 | Changes::empty() |