Passed
Branch release-5.x (ca4c4c)
by Tim
14:20
created
Category
src/SAML2/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/SAML2/Signature/PublicKeyValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.