Skip to content

Commit

Permalink
Fix attributeaggregator class signature
Browse files Browse the repository at this point in the history
  • Loading branch information
shingo78 committed Feb 15, 2024
1 parent d07e83d commit cc9a193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Auth/Process/attributeaggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class attributeaggregator extends \SimpleSAML\Auth\ProcessingFilter
* @param array $config Configuration information
* @param mixed $reserved For future use
*/
public function __construct($config, $reserved)
public function __construct(array &$config, $reserved)
{
assert('is_array($config)');
parent::__construct($config, $reserved);
Expand Down Expand Up @@ -179,7 +179,7 @@ public function __construct($config, $reserved)
*
* @param array &$state The state of the response.
*/
public function process(&$state)
public function process(array &$state): void
{
assert('is_array($state)');

Expand Down

0 comments on commit cc9a193

Please sign in to comment.