@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * Core routing(core.routing) event handler |
116 | 116 | * @param \samson\core\Core $core |
117 | 117 | * @param boolean $securityResult |
118 | - * @return boolean True if security passed |
|
118 | + * @return boolean|null True if security passed |
|
119 | 119 | */ |
120 | 120 | public function handle(&$core, &$securityResult) |
121 | 121 | { |
@@ -176,7 +176,8 @@ discard block |
||
176 | 176 | /** |
177 | 177 | * Parse application access right |
178 | 178 | * @param string $rightName Right name |
179 | - * @return string Application name |
|
179 | + * @param string $applicationName |
|
180 | + * @return boolean Application name |
|
180 | 181 | */ |
181 | 182 | private function matchApplicationAccessRight($rightName, &$applicationName) |
182 | 183 | { |
@@ -9,12 +9,10 @@ |
||
9 | 9 | |
10 | 10 | use samson\activerecord\dbQuery; |
11 | 11 | use samson\activerecord\groupright; |
12 | -use samsonframework\containerannotation\Inject; |
|
13 | 12 | use samsonframework\containerannotation\Injectable; |
14 | 13 | use samsonframework\containerannotation\InjectArgument; |
15 | 14 | use samsonframework\core\ResourcesInterface; |
16 | 15 | use samsonframework\core\SystemInterface; |
17 | -use samsonframework\i18n\i18nInterface; |
|
18 | 16 | |
19 | 17 | /** |
20 | 18 | * SamsonCMS security controller |