Completed
Push — master ( 1a0595...e5fc6e )
by Vitaly
02:47
created
src/Controller.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -9,12 +9,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.