@@ -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 | |
@@ -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; |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | return; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - for ($n = $xml->firstChild;; $n = $n->nextSibling) { |
|
| 43 | + for ($n = $xml->firstChild; ; $n = $n->nextSibling) { |
|
| 44 | 44 | if (!($n instanceof DOMElement)) { |
| 45 | 45 | continue; |
| 46 | 46 | } |
@@ -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 | |