diff --git a/lib/SimpleSAML/Auth/ProcessingFilter.php b/lib/SimpleSAML/Auth/ProcessingFilter.php index be5c2fc5ce7de5b1c554ba80b8b7e1c043d93374..038900e5e7b9e30af9375d41354c9055120c44c1 100644 --- a/lib/SimpleSAML/Auth/ProcessingFilter.php +++ b/lib/SimpleSAML/Auth/ProcessingFilter.php @@ -47,7 +47,7 @@ abstract class ProcessingFilter * @param array &$config Configuration for this filter. * @param mixed $reserved For future use. */ - public function __construct(array &$config, $reserved) + public function __construct(array &$config, /** @scrutinizer ignore-unused */ $reserved) { if (array_key_exists('%priority', $config)) { $this->priority = $config['%priority']; diff --git a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php index 7d88000e10e0703fe1d7d12dd2382609b113c337..8136c7aeab088b034030500ee2b9fcecd523611e 100644 --- a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php +++ b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php @@ -58,7 +58,7 @@ class MetaDataStorageHandlerPdo extends MetaDataStorageSource * * @param array $config An associative array with the configuration for this handler. */ - public function __construct(array $config) + public function __construct(/** @scrutinizer ignore-unused */ array $config) { $this->db = Database::getInstance(); } diff --git a/lib/SimpleSAML/Stats/Output.php b/lib/SimpleSAML/Stats/Output.php index 251bc63b0b2716c0879a615bc7a537d54836ed1c..89be3c8ef01dc3451a69f6c125cc958b7273c458 100644 --- a/lib/SimpleSAML/Stats/Output.php +++ b/lib/SimpleSAML/Stats/Output.php @@ -19,7 +19,7 @@ abstract class Output * * @param \SimpleSAML\Configuration $config The configuration for this output. */ - public function __construct(Configuration $config) + public function __construct(/** @scrutinizer ignore-unused */ Configuration $config) { // do nothing by default } diff --git a/modules/saml/lib/SP/LogoutStore.php b/modules/saml/lib/SP/LogoutStore.php index 47af236b7a6526b478275e98bd8c66d9ce853d90..9b8f423d28d93ef920fb52f995345df83ef4d8ed 100644 --- a/modules/saml/lib/SP/LogoutStore.php +++ b/modules/saml/lib/SP/LogoutStore.php @@ -291,14 +291,12 @@ class LogoutStore * Retrieve all session IDs from a key-value store. * * @param \SimpleSAML\Store $store The datastore. - * @param string $authId The authsource ID. * @param string $nameId The hash of the users NameID. * @param array $sessionIndexes The session indexes. * @return array Associative array of SessionIndex => SessionId. */ private static function getSessionsStore( Store $store, - string $authId, string $nameId, array $sessionIndexes ): array { @@ -412,7 +410,7 @@ class LogoutStore // We cannot fetch all sessions without a SQL store return false; } - $sessions = self::getSessionsStore($store, $authId, $strNameId, $sessionIndexes); + $sessions = self::getSessionsStore($store, $strNameId, $sessionIndexes); } if (empty($sessionIndexes)) {