@@ -53,7 +53,7 @@ |
||
| 53 | 53 | CertificateProvider $configuration |
| 54 | 54 | ) { |
| 55 | 55 | $logger = $this->logger; |
| 56 | - $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) { |
|
| 56 | + $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) { |
|
| 57 | 57 | if (!$key instanceof X509) { |
| 58 | 58 | $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type'])); |
| 59 | 59 | return false; |
@@ -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 | |
@@ -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 | } |