Completed
Push — master ( 731b72...afa20e )
by Dmitry
13:52
created
src/base/Controller.php 2 patches
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,6 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param string $submodel the submodel that will be added to the ClassName
74 73
      * @return string Main Model class name
75 74
      */
76 75
     public static function modelClassName()
@@ -201,11 +200,17 @@  discard block
 block discarded – undo
201 200
         return $this->render('index');
202 201
     }
203 202
 
203
+    /**
204
+     * @param string $id
205
+     */
204 206
     public function setInternalAction($id, $action)
205 207
     {
206 208
         $this->_internalActions[$id] = $action;
207 209
     }
208 210
 
211
+    /**
212
+     * @param string $id
213
+     */
209 214
     public function hasInternalAction($id)
210 215
     {
211 216
         return array_key_exists($id, $this->_internalActions);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use hiqdev\hiart\ActiveRecord;
17 17
 use Yii;
18 18
 use yii\di\Instance;
19
-use yii\filters\AccessControl;
20 19
 use yii\helpers\Inflector;
21 20
 use yii\web\NotFoundHttpException;
22 21
 
Please login to merge, or discard this patch.