@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * @throws \Exception |
| 70 | 70 | * @return array|false An array with information about the Signature element. |
| 71 | 71 | */ |
| 72 | - public static function validateElement(DOMElement $root): array|false |
|
| 72 | + public static function validateElement(DOMElement $root): array | false |
|
| 73 | 73 | { |
| 74 | 74 | /* Create an XML security object. */ |
| 75 | 75 | $objXMLSecDSig = new XMLSecurityDSig(); |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | public function __construct( |
| 34 | 34 | LoggerInterface $logger, |
| 35 | - private KeyLoader|MockInterface $keyLoader, |
|
| 35 | + private KeyLoader | MockInterface $keyLoader, |
|
| 36 | 36 | ) { |
| 37 | 37 | parent::__construct($logger); |
| 38 | 38 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | CertificateProvider $configuration |
| 66 | 66 | ): bool { |
| 67 | 67 | $logger = $this->logger; |
| 68 | - $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) { |
|
| 68 | + $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) { |
|
| 69 | 69 | if (!$key instanceof X509) { |
| 70 | 70 | $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type'])); |
| 71 | 71 | return false; |