Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit c1d5cb9

Browse files
committed
Rename $conf property in PerunEntitlement.php
* Rename property $conf to $modulePerunConfiguration
1 parent 278f7fc commit c1d5cb9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Auth/Process/PerunEntitlement.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class PerunEntitlement extends ProcessingFilter
4040
public function __construct($config, $reserved)
4141
{
4242
parent::__construct($config, $reserved);
43-
$conf = Configuration::getConfig(self::CONFIG_FILE_NAME);
43+
$modulePerunConfiguration = Configuration::getConfig(self::CONFIG_FILE_NAME);
4444
assert('is_array($config)');
4545

4646
if (!isset($config[self::EDU_PERSON_ENTITLEMENT])) {
@@ -63,9 +63,9 @@ public function __construct($config, $reserved)
6363
}
6464
$this->forwardedEduPersonEntitlement = $config[self::FORWARDED_EDU_PERSON_ENTITLEMENT];
6565

66-
$this->entitlementPrefix = $conf->getString(self::ENTITLEMENTPREFIX_ATTR, '');
67-
$this->entitlementAuthority = $conf->getString(self::ENTITLEMENTAUTHORITY_ATTR, '');
68-
$this->groupNameAARC = $conf->getBoolean(self::GROUPNAMEAARC_ATTR, false);
66+
$this->entitlementPrefix = $modulePerunConfiguration->getString(self::ENTITLEMENTPREFIX_ATTR, '');
67+
$this->entitlementAuthority = $modulePerunConfiguration->getString(self::ENTITLEMENTAUTHORITY_ATTR, '');
68+
$this->groupNameAARC = $modulePerunConfiguration->getBoolean(self::GROUPNAMEAARC_ATTR, false);
6969

7070
if ($this->groupNameAARC && (empty($this->entitlementAuthority) || empty($this->entitlementPrefix))) {
7171
throw new Exception(

0 commit comments

Comments
 (0)