@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * 4.4: If present, the SOAP Fault element MUST appear as a body entry and MUST NOT |
| 50 | 50 | * appear more than once within a Body element. |
| 51 | 51 | */ |
| 52 | - $fault = array_values(array_filter($children, function ($elt) { |
|
| 52 | + $fault = array_values(array_filter($children, function($elt) { |
|
| 53 | 53 | return $elt instanceof Fault; |
| 54 | 54 | })); |
| 55 | 55 | Assert::maxCount($fault, 1, ProtocolViolationException::class); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * 5.4: To be recognized as carrying SOAP error information, a SOAP message MUST contain a single SOAP Fault |
| 50 | 50 | * element information item as the only child element information item of the SOAP Body . |
| 51 | 51 | */ |
| 52 | - $fault = array_values(array_filter($children, function ($elt) { |
|
| 52 | + $fault = array_values(array_filter($children, function($elt) { |
|
| 53 | 53 | return $elt instanceof Fault; |
| 54 | 54 | })); |
| 55 | 55 | Assert::maxCount($fault, 1, ProtocolViolationException::class); |