@@ -53,7 +53,7 @@ |
||
53 | 53 | public function getPrivateKey(string $name, bool $required = false) |
54 | 54 | { |
55 | 55 | $privateKeys = $this->get('privateKeys'); |
56 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
56 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
57 | 57 | return $key->getName() === $name; |
58 | 58 | }); |
59 | 59 |
@@ -51,7 +51,7 @@ |
||
51 | 51 | public function getPrivateKey(string $name, bool $required = false) |
52 | 52 | { |
53 | 53 | $privateKeys = $this->get('privateKeys'); |
54 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
54 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
55 | 55 | return $key->getName() === $name; |
56 | 56 | }); |
57 | 57 |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | throw new MissingConfigurationException(sprintf( |
78 | 78 | 'No certificates have been configured%s', |
79 | - $configuration->has('entityid') ? ' for "' . $configuration->get('entityid') . '"' : '' |
|
79 | + $configuration->has('entityid') ? ' for "'.$configuration->get('entityid').'"' : '' |
|
80 | 80 | )); |
81 | 81 | } |
82 | 82 | } |
@@ -239,7 +239,7 @@ |
||
239 | 239 | // There is a fault element but we haven't found out what the fault string is |
240 | 240 | $soapFaultString = "Unknown fault string found"; |
241 | 241 | // find out the fault string |
242 | - $faultStringElement = Utils::xpQuery($soapFaultElement, './soap-env:faultstring') ; |
|
242 | + $faultStringElement = Utils::xpQuery($soapFaultElement, './soap-env:faultstring'); |
|
243 | 243 | if (!empty($faultStringElement)) { |
244 | 244 | return $faultStringElement[0]->textContent; |
245 | 245 | } |