Completed
Push — master ( 9edfc5...0d667f )
by Evgenij
03:15
created
src/RequestExecutor/Pipeline/ReadWriteIoHandler.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@  discard block
 block discarded – undo
62 62
     ) {
63 63
         /** @var ReadWriteOperation $operation */
64 64
         $sequence = $operation->isReadFirst() ?
65
-            [$operation->getReadOperation(), $operation->getWriteOperation()] :
66
-            [$operation->getWriteOperation(), $operation->getReadOperation()];
65
+            [$operation->getReadOperation(), $operation->getWriteOperation()] : [$operation->getWriteOperation(), $operation->getReadOperation()];
67 66
         $sequence = array_filter($sequence);
68 67
 
69 68
         foreach ($sequence as $op) {
@@ -78,8 +77,7 @@  discard block
 block discarded – undo
78 77
         }
79 78
 
80 79
         return $operation->getReadOperation() !== null || $operation->getWriteOperation() !== null ?
81
-            $operation :
82
-            null;
80
+            $operation : null;
83 81
     }
84 82
 
85 83
     /**
Please login to merge, or discard this patch.
src/RequestExecutor/Pipeline/DelegatingIoHandler.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
     ) {
60 60
         $handler = $this->getHandler($operation);
61 61
         return $handler ?
62
-            $handler->handle($operation, $descriptor, $executor, $eventHandler, $executionContext) :
63
-            null;
62
+            $handler->handle($operation, $descriptor, $executor, $eventHandler, $executionContext) : null;
64 63
     }
65 64
 
66 65
     /**
Please login to merge, or discard this patch.