Passed
Push — master ( f3e803...79c4ca )
by Tim
02:20
created
src/SAML2/Metadata/AbstractProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
21 21
      */
22 22
     protected function __construct(
23 23
         protected string $entityId,
24
-        protected EncryptionAlgorithmFactory|KeyTransportAlgorithmFactory|null $encryptionAlgorithmFactory,
25
-        protected SignatureAlgorithmFactory|null $signatureAlgorithmFactory,
24
+        protected EncryptionAlgorithmFactory | KeyTransportAlgorithmFactory | null $encryptionAlgorithmFactory,
25
+        protected SignatureAlgorithmFactory | null $signatureAlgorithmFactory,
26 26
         protected string $signatureAlgorithm,
27 27
         protected array $validatingKeys,
28
-        protected PrivateKey|null $signingKey,
29
-        protected PublicKey|SymmetricKey|null $encryptionKey,
28
+        protected PrivateKey | null $signingKey,
29
+        protected PublicKey | SymmetricKey | null $encryptionKey,
30 30
         protected array $decryptionKeys,
31 31
         protected array $IDPList,
32 32
     ) {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Retrieve the EncryptionAlgorithmFactory used for encrypting and decrypting messages.
52 52
      */
53
-    public function getEncryptionAlgorithmFactory(): EncryptionAlgorithmFactory|KeyTransportAlgorithmFactory|null
53
+    public function getEncryptionAlgorithmFactory(): EncryptionAlgorithmFactory | KeyTransportAlgorithmFactory | null
54 54
     {
55 55
         return $this->encryptionAlgorithmFactory;
56 56
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @return \SimpleSAML\XMLSecurity\Key\PublicKey|\SimpleSAML\XMLSecurity\Key\SymmetricKey|null
94 94
      */
95
-    public function getEncryptionKey(): PublicKey|SymmetricKey|null
95
+    public function getEncryptionKey(): PublicKey | SymmetricKey | null
96 96
     {
97 97
         return $this->encryptionKey;
98 98
     }
Please login to merge, or discard this patch.
src/SAML2/Metadata/IdentityProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
      */
22 22
     public function __construct(
23 23
         string $entityId,
24
-        EncryptionAlgorithmFactory|KeyTransportAlgorithmFactory|null $encryptionAlgorithmFactory = null,
25
-        SignatureAlgorithmFactory|null $signatureAlgorithmFactory = null,
24
+        EncryptionAlgorithmFactory | KeyTransportAlgorithmFactory | null $encryptionAlgorithmFactory = null,
25
+        SignatureAlgorithmFactory | null $signatureAlgorithmFactory = null,
26 26
         string $signatureAlgorithm = C::SIG_RSA_SHA256,
27 27
         array $validatingKeys = [],
28
-        PrivateKey|null $signingKey = null,
29
-        PublicKey|SymmetricKey|null $encryptionKey = null,
28
+        PrivateKey | null $signingKey = null,
29
+        PublicKey | SymmetricKey | null $encryptionKey = null,
30 30
         array $decryptionKeys = [],
31 31
         array $IDPList = [],
32 32
     ) {
Please login to merge, or discard this patch.
src/SAML2/Metadata/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
      */
24 24
     public function __construct(
25 25
         string $entityId,
26
-        EncryptionAlgorithmFactory|KeyTransportAlgorithmFactory|null $encryptionAlgorithmFactory = null,
27
-        SignatureAlgorithmFactory|null $signatureAlgorithmFactory = null,
26
+        EncryptionAlgorithmFactory | KeyTransportAlgorithmFactory | null $encryptionAlgorithmFactory = null,
27
+        SignatureAlgorithmFactory | null $signatureAlgorithmFactory = null,
28 28
         string $signatureAlgorithm = C::SIG_RSA_SHA256,
29 29
         array $validatingKeys = [],
30
-        PrivateKey|null $signingKey = null,
31
-        PublicKey|SymmetricKey|null $encryptionKey = null,
30
+        PrivateKey | null $signingKey = null,
31
+        PublicKey | SymmetricKey | null $encryptionKey = null,
32 32
         protected array $assertionConsumerService = [],
33 33
         array $decryptionKeys = [],
34 34
         array $IDPList = [],
Please login to merge, or discard this patch.