@@ -36,7 +36,7 @@ |
||
| 36 | 36 | return; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - for ($n = $xml->firstChild;; $n = $n->nextSibling) { |
|
| 39 | + for ($n = $xml->firstChild; ; $n = $n->nextSibling) { |
|
| 40 | 40 | if (!($n instanceof \DOMElement)) { |
| 41 | 41 | continue; |
| 42 | 42 | } |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | $required = false; |
| 77 | 77 | } |
| 78 | 78 | $privateKeys = $this->get('privateKeys'); |
| 79 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
| 79 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
| 80 | 80 | return $key->getName() === $name; |
| 81 | 81 | }); |
| 82 | 82 | |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $required = false; |
| 51 | 51 | } |
| 52 | 52 | $privateKeys = $this->get('privateKeys'); |
| 53 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
| 53 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
| 54 | 54 | return $key->getName() === $name; |
| 55 | 55 | }); |
| 56 | 56 | |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | CertificateProvider $configuration |
| 64 | 64 | ) : bool { |
| 65 | 65 | $logger = $this->logger; |
| 66 | - $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) { |
|
| 66 | + $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) { |
|
| 67 | 67 | if (!$key instanceof X509) { |
| 68 | 68 | $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type'])); |
| 69 | 69 | return false; |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | if (!$document->firstChild instanceof \DOMElement) { |
| 133 | 133 | throw new \Exception('Malformed SAML message received.'); |
| 134 | 134 | } |
| 135 | - $message = Message::fromXML($document->firstChild); |
|
| 135 | + $message = Message::fromXML($document->firstChild); |
|
| 136 | 136 | |
| 137 | 137 | if (array_key_exists('RelayState', $data)) { |
| 138 | 138 | $message->setRelayState($data['RelayState']); |