Skip to content

Commit b391f32

Browse files
committed
Add missing closure param type
1 parent 9cdd168 commit b391f32

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/saml/src/Message.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ private static function processAssertion(
749749
// we have a valid client certificate from the browser
750750
$clientCert = str_replace(["\r", "\n", " "], '', $matches[1]);
751751

752-
$keyInfo = array_values(array_filter($scd->getInfo(), function ($info) {
752+
$keyInfo = array_values(array_filter($scd->getInfo(), function (array $info) {
753753
return $info instanceof KeyInfo;
754754
}));
755755

@@ -760,7 +760,7 @@ private static function processAssertion(
760760
}
761761
$keyInfo = array_pop($keyInfo);
762762

763-
$x509data = array_values(array_filter($keyInfo->getInfo(), function ($info) {
763+
$x509data = array_values(array_filter($keyInfo->getInfo(), function (array $info) {
764764
return $info instanceof X509Data;
765765
}));
766766

@@ -771,7 +771,7 @@ private static function processAssertion(
771771
}
772772
$x509data = array_pop($x509data);
773773

774-
$x509cert = array_values(array_filter($x509data->getData(), function ($data) {
774+
$x509cert = array_values(array_filter($x509data->getData(), function (array $data) {
775775
return $data instanceof X509Certificate;
776776
}));
777777

0 commit comments

Comments
 (0)