@@ -69,7 +69,6 @@ discard block |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @param AbstractAttribute $attribute |
72 | - * @param string $attributeType |
|
73 | 72 | * @param object $user |
74 | 73 | * @param object $object |
75 | 74 | * @return mixed |
@@ -108,7 +107,7 @@ discard block |
||
108 | 107 | /** |
109 | 108 | * |
110 | 109 | * @param \PhpAbac\Model\EnvironmentAttribute $attribute |
111 | - * @return mixed |
|
110 | + * @return string |
|
112 | 111 | */ |
113 | 112 | private function retrieveEnvironmentAttribute(EnvironmentAttribute $attribute) { |
114 | 113 | return getenv($attribute->getVariableName()); |
@@ -7,9 +7,7 @@ |
||
7 | 7 | use PhpAbac\Manager\ConfigurationManager; |
8 | 8 | use PhpAbac\Manager\CacheManager; |
9 | 9 | use PhpAbac\Manager\ComparisonManager; |
10 | - |
|
11 | 10 | use Symfony\Component\Config\FileLocator; |
12 | - |
|
13 | 11 | use PhpAbac\Model\PolicyRuleAttribute; |
14 | 12 | |
15 | 13 | class Abac |
@@ -28,7 +28,7 @@ |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * @return \PhpAbac\Model\AbstractAttribute |
|
31 | + * @return string |
|
32 | 32 | */ |
33 | 33 | public function getAttribute() |
34 | 34 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use PhpAbac\Manager\PolicyRuleManager; |
7 | 7 | use PhpAbac\Manager\ConfigurationManager; |
8 | 8 | use PhpAbac\Manager\CacheManager; |
9 | - |
|
10 | 9 | use Symfony\Component\Config\FileLocator; |
11 | 10 | |
12 | 11 | class Abac |