Skip to content

Commit

Permalink
Fix UserCardService constructor to call parent's constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Nov 1, 2024
1 parent cc1722d commit ad0999c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/Finna/src/Finna/Db/Service/UserCardService.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ class UserCardService extends \VuFind\Db\Service\UserCardService
* @param Closure $getLoginTargetPrefixes Callback for getting a list of active login target prefixes
*/
public function __construct(
protected ILSAuthenticator $ilsAuthenticator,
protected AccountCapabilities $capabilities,
ILSAuthenticator $ilsAuthenticator,
AccountCapabilities $capabilities,
protected Closure $getLoginTargetPrefixes
) {
parent::__construct($ilsAuthenticator, $capabilities);
}

/**
Expand Down

0 comments on commit ad0999c

Please sign in to comment.