Completed
Push — master ( 1f89f5...70eca8 )
by Andrii
09:26
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   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use hipanel\actions\ValidateFormAction;
15 15
 use hipanel\actions\ViewAction;
16 16
 use hipanel\models\Reminder;
17
-use hipanel\widgets\ReminderTop;
18 17
 use Yii;
19 18
 use yii\web\NotFoundHttpException;
20 19
 use yii\web\Response;
Please login to merge, or discard this patch.
src/models/Reminder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @return bool
105
+     * @return boolean|null
106 106
      */
107 107
     public function fixNextTimeTZ()
108 108
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace hipanel\models;
4 4
 
5 5
 use DateTime;
6
-use DateTimeZone;
7 6
 use hipanel\base\Model;
8 7
 use hipanel\base\ModelTrait;
9 8
 use Yii;
Please login to merge, or discard this patch.