@@ -36,7 +36,7 @@ discard block |
||
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 |
||
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 |
||
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; |
@@ -61,9 +61,9 @@ |
||
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'); |
@@ -57,9 +57,9 @@ |
||
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'); |