Completed
Push — master ( 394a8e...b9b622 )
by Klochok
36:00 queued 21:07
created
src/models/Server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Determine good server states.
93 93
      *
94
-     * @return array
94
+     * @return string[]
95 95
      */
96 96
     public function goodStates()
97 97
     {
Please login to merge, or discard this patch.
src/controllers/ServerController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@
 block discarded – undo
395 395
      *
396 396
      * @param Server $model
397 397
      * @throws NotFoundHttpException
398
-     * @return array
398
+     * @return Osimage[]
399 399
      */
400 400
     protected function getOsimages(Server $model = null)
401 401
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use hipanel\actions\ValidateFormAction;
27 27
 use hipanel\actions\ViewAction;
28 28
 use hipanel\base\CrudController;
29
-use hipanel\models\Ref;
30 29
 use hipanel\modules\finance\models\Tariff;
31 30
 use hipanel\modules\server\cart\ServerRenewProduct;
32 31
 use hipanel\modules\server\helpers\ServerHelper;
Please login to merge, or discard this patch.
src/helpers/ServerHelper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Gets array of [[Osimage]] for $type
59 59
      *
60 60
      * @param string $type
61
-     * @return Osimage[]|null
61
+     * @return Osimage[]
62 62
      */
63 63
     public static function getOsimages($type = null)
64 64
     {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * @param integer $tariff_id
155 155
      * @throws NotFoundHttpException
156 156
      * @throws UnprocessableEntityHttpException
157
-     * @return Package|array
157
+     * @return Osimage[]
158 158
      */
159 159
     public static function getAvailablePackages($type = null, $tariff_id = null)
160 160
     {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     }
237 237
 
238 238
     /**
239
-     * @param $tariff
239
+     * @param Tariff $tariff
240 240
      * @return mixed
241 241
      */
242 242
     public static function buildPackageClass($tariff)
Please login to merge, or discard this patch.
src/grid/RefuseGridView.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace hipanel\modules\server\grid;
13 13
 
14
-use hipanel\grid\ActionColumn;
15
-use hipanel\modules\server\helpers\ServerHelper;
16
-use hipanel\modules\server\widgets\OSFormatter;
17 14
 use Yii;
18 15
 
19 16
 class RefuseGridView extends \hipanel\grid\BoxedGridView
Please login to merge, or discard this patch.
src/views/rrd/view.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use hipanel\base\View;
4 4
 use hipanel\helpers\Url;
5
-use hipanel\widgets\ActionBox;
6 5
 use hipanel\widgets\IndexPage;
7 6
 use hipanel\widgets\Pjax;
8 7
 use yii\grid\GridView;
Please login to merge, or discard this patch.
src/views/switch-graph/view.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use hipanel\base\View;
4 4
 use hipanel\helpers\Url;
5
-use hipanel\widgets\ActionBox;
6 5
 use hipanel\widgets\IndexPage;
7 6
 use hipanel\widgets\Pjax;
8 7
 use yii\grid\GridView;
Please login to merge, or discard this patch.