From 169a19183da29c19f63bfb6dfc03c698252cb39e Mon Sep 17 00:00:00 2001 From: Dorian Merz <merz@ub.uni-leipzig.de> Date: Wed, 15 Dec 2021 11:34:49 +0100 Subject: [PATCH] refs #21064 [fid] fix code style in Role\FidApiPermission * also changes visibility for member variable --- .../src/Role/PermissionProvider/FidApiPermission.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/module/fid/src/Role/PermissionProvider/FidApiPermission.php b/module/fid/src/Role/PermissionProvider/FidApiPermission.php index ce7763537a3..32fd4bc146c 100644 --- a/module/fid/src/Role/PermissionProvider/FidApiPermission.php +++ b/module/fid/src/Role/PermissionProvider/FidApiPermission.php @@ -25,7 +25,7 @@ * @author Demian Katz <demian.katz@villanova.edu> * @author Jochen Lienhard <lienhard@ub.uni-freiburg.de> * @author Ere Maijala <ere.maijala@helsinki.fi> - * @author Gregor Gawol <gawol@ub.uni-leipzig.de> + * @author Dorian Merz <merz@ub.uni-leipzig.de> * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Page */ @@ -49,10 +49,17 @@ use VuFind\Role\PermissionProvider\PermissionProviderInterface; class FidApiPermission implements PermissionProviderInterface { /** + * Fid client + * * @var FidApiClient */ - private $client; + protected $client; + /** + * FidApiPermission constructor. + * + * @param FidApiClient $client fid client + */ public function __construct(FidApiClient $client) { $this->client = $client; -- GitLab