Found by PHPStan.
Change-Id: I50d27a50806048697dcac8e24712a10a6c7e7c16
$allReqs = AuthManager::singleton()->getAuthenticationRequests(
$this->authAction, $this->getUser() );
$allReqs = AuthManager::singleton()->getAuthenticationRequests(
$this->authAction, $this->getUser() );
- $this->authRequests = array_filter( $allReqs, function ( $req ) use ( $subPage ) {
+ $this->authRequests = array_filter( $allReqs, function ( $req ) {
return !in_array( get_class( $req ), $this->getRequestBlacklist(), true );
} );
}
return !in_array( get_class( $req ), $this->getRequestBlacklist(), true );
} );
}