@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @return bool |
|
85 | + * @return string |
|
86 | 86 | */ |
87 | 87 | public function getParentNationality() { |
88 | 88 | return $this->parentNationality; |
@@ -119,7 +119,6 @@ discard block |
||
119 | 119 | /** |
120 | 120 | * Return a specific visa |
121 | 121 | * |
122 | - * @param Visa $visa |
|
123 | 122 | * |
124 | 123 | * @return mixed|null |
125 | 124 | */ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Method to check if a resource is supported by the loader |
50 | 50 | * This method check only extension file |
51 | 51 | * |
52 | - * @param $resource |
|
52 | + * @param string $resource |
|
53 | 53 | * |
54 | 54 | * @return boolean Return true if the extension of the ressource is supported by the loader |
55 | 55 | */ |
@@ -44,6 +44,9 @@ |
||
44 | 44 | |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $configPaths_root |
|
49 | + */ |
|
47 | 50 | public function setConfigPathRoot($configPaths_root = null) { |
48 | 51 | // $this->config_path_route = $configPaths_root; |
49 | 52 | foreach($this->loaders as $loader) { |
@@ -88,7 +88,6 @@ discard block |
||
88 | 88 | |
89 | 89 | /** |
90 | 90 | * @param AbstractAttribute $attribute |
91 | - * @param string $attributeType |
|
92 | 91 | * @param object $user |
93 | 92 | * @param object $object |
94 | 93 | * @return mixed |
@@ -136,7 +135,7 @@ discard block |
||
136 | 135 | /** |
137 | 136 | * |
138 | 137 | * @param \PhpAbac\Model\EnvironmentAttribute $attribute |
139 | - * @return mixed |
|
138 | + * @return string |
|
140 | 139 | */ |
141 | 140 | private function retrieveEnvironmentAttribute(EnvironmentAttribute $attribute) { |
142 | 141 | return getenv($attribute->getVariableName()); |