Passed
Push — ref ( 45b89b )
by Asmir
02:50
created
src/Arguments/ArgumentsReader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function readArguments(array $args, array $message)
38 38
     {
39
-        $envelope = array_filter($args, function ($item) use ($message) {
39
+        $envelope = array_filter($args, function($item) use ($message) {
40 40
             return $item instanceof $message['message_fqcn'];
41 41
         });
42 42
         if ($envelope) {
@@ -106,14 +106,14 @@  discard block
 block discarded – undo
106 106
      */
107 107
     private function handleHeaders(array $args, array $message, $envelope)
108 108
     {
109
-        $headers = array_filter($args, function ($item) use ($message) {
109
+        $headers = array_filter($args, function($item) use ($message) {
110 110
             return $item instanceof $message['headers_fqcn'];
111 111
         });
112 112
         if ($headers) {
113 113
             $envelope->setHeader(reset($headers));
114 114
         } else {
115 115
 
116
-            $headers = array_filter($args, function ($item) {
116
+            $headers = array_filter($args, function($item) {
117 117
                 return $item instanceof Header;
118 118
             });
119 119
             if (count($headers)) {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             }
133 133
         }
134 134
 
135
-        $args = array_filter($args, function ($item) use ($message) {
135
+        $args = array_filter($args, function($item) use ($message) {
136 136
             return !($item instanceof Header) && !($item instanceof $message['headers_fqcn']);
137 137
         });
138 138
         return $args;
Please login to merge, or discard this patch.
src/Envelope/SoapEnvelope12/Messages/Fault.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,9 +61,9 @@
 block discarded – undo
61 61
 
62 62
         if ($e instanceof VersionMismatchException) {
63 63
             $faultCode->setValue('SOAP:VersionMismatch');
64
-        }elseif ($e instanceof MustUnderstandException) {
64
+        } elseif ($e instanceof MustUnderstandException) {
65 65
             $faultCode->setValue('SOAP:MustUnderstand');
66
-        }elseif ($e instanceof ClientException) {
66
+        } elseif ($e instanceof ClientException) {
67 67
             $faultCode->setValue('SOAP:Sender');
68 68
         } else {
69 69
             $faultCode->setValue('SOAP:Receiver');
Please login to merge, or discard this patch.
src/Envelope/SoapEnvelope/Messages/Fault.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
 
58 58
         if ($e instanceof ClientException) {
59 59
             $fault->setCode('SOAP:Client');
60
-        }elseif ($e instanceof VersionMismatchException) {
60
+        } elseif ($e instanceof VersionMismatchException) {
61 61
             $fault->setCode('SOAP:VersionMismatch');
62
-        }elseif ($e instanceof MustUnderstandException) {
62
+        } elseif ($e instanceof MustUnderstandException) {
63 63
             $fault->setCode('SOAP:MustUnderstand');
64 64
         } else {
65 65
             $fault->setCode('SOAP:Server');
Please login to merge, or discard this patch.