Completed
Push — master ( cfc511...9c0ae4 )
by Andrii
11:40
created
src/widgets/FileRender.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         return $this->render($this->getOrientationStorage());
51 51
     }
52 52
 
53
+    /**
54
+     * @return string
55
+     */
53 56
     public function getOrientationStorage()
54 57
     {
55 58
         return OrientationStorage::instantiate()->get(Yii::$app->controller->getRoute());
Please login to merge, or discard this patch.
src/views/reminder/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use hipanel\grid\ReminderGridView;
4
-use hipanel\modules\stock\grid\PartGridView;
5 4
 use hipanel\widgets\IndexLayoutSwitcher;
6 5
 use hipanel\widgets\IndexPage;
7 6
 use hipanel\widgets\Pjax;
Please login to merge, or discard this patch.
src/base/Controller.php 1 patch
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.
src/controllers/ReminderController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@  discard block
 block discarded – undo
6 6
 use hipanel\actions\IndexAction;
7 7
 use hipanel\actions\OrientationAction;
8 8
 use hipanel\actions\RedirectAction;
9
-use hipanel\actions\RenderAction;
10 9
 use hipanel\actions\RenderJsonAction;
11 10
 use hipanel\actions\SmartCreateAction;
12 11
 use hipanel\actions\SmartDeleteAction;
@@ -15,10 +14,7 @@  discard block
 block discarded – undo
15 14
 use hipanel\actions\ViewAction;
16 15
 use hipanel\models\Reminder;
17 16
 use hipanel\widgets\ReminderTop;
18
-use Symfony\Component\EventDispatcher\Event;
19 17
 use Yii;
20
-use yii\base\Widget;
21
-use yii\helpers\ArrayHelper;
22 18
 use yii\web\NotFoundHttpException;
23 19
 
24 20
 class ReminderController extends \hipanel\base\CrudController
Please login to merge, or discard this patch.