Completed
Pull Request — master (#108)
by Marco
04:12
created
src/DetectChanges/BCBreak/MethodBased/MultipleChecksOnAMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/InterfaceBased/MultipleChecksOnAnInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/PropertyBased/MultipleChecksOnAProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.