File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ parameters:
22 level : 5
33 paths :
44 - tests
5- includes :
6- - phpstan-baseline-dev.neon
5+ # includes:
6+ # - phpstan-baseline-dev.neon
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ parameters:
22 level : 2
33 paths :
44 - src
5- includes :
6- - phpstan-baseline.neon
5+ # includes:
6+ # - phpstan-baseline.neon
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function getRedirectURL(AbstractMessage $message): string
9090 $ signatureValue = $ signature ->getSignatureValue ();
9191
9292 $ msg .= '&SigAlg= ' . urlencode ($ signatureMethod ->getAlgorithm ()->getValue ());
93- $ msg .= '&Signature= ' . urlencode ($ signatureValue ->getContent ()->getValue ());
93+ $ msg .= '&Signature= ' . urlencode ($ signatureValue ->getValue ()->getValue ());
9494 }
9595
9696 if (str_contains ($ destination , '? ' )) {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ trait EncryptedElementTrait
3333 * @param \SimpleSAML\XMLSecurity\XML\xenc\EncryptedData $encryptedData The EncryptedData object.
3434 * @param \SimpleSAML\XMLSecurity\XML\xenc\EncryptedKey[] $decryptionKeys The EncryptedKey objects.
3535 */
36- public function __construct (
36+ final public function __construct (
3737 protected EncryptedData $ encryptedData ,
3838 protected array $ decryptionKeys = [],
3939 ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ final class Keywords extends AbstractMduiElement implements
3636 public const TEXTCONTENT_TYPE = ListOfStringsValue::class;
3737
3838
39-
4039 /**
4140 * Initialize a Keywords.
4241 *
@@ -130,6 +129,9 @@ public static function fromArray(array $data): static
130129 */
131130 public function toArray (): array
132131 {
133- return [$ this ->getLanguage ()->getValue () => $ this ->getContent ()->toArray ()];
132+ /** @var \SimpleSAML\SAML2\Type\ListOfStringsValue $content */
133+ $ content = $ this ->getContent ();
134+
135+ return [$ this ->getLanguage ()->getValue () => $ content ->toArray ()];
134136 }
135137}
You can’t perform that action at this time.
0 commit comments