Completed
Push — feature/scrutinizer ( b87d9b...e7952f )
by Tobias
04:05 queued 14s
created
src/commands/AppController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         }
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $command
120
+     */
118 121
     protected function action($command, $params = [])
119 122
     {
120 123
         echo "\nRunning action '$command'...\n";
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\commands;
11 11
 
12 12
 use dektrium\user\Finder;
Please login to merge, or discard this patch.
src/components/User.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param array     $params
26 26
      * @param bool|true $allowCaching
27 27
      *
28
-     * @return bool
28
+     * @return boolean|null
29 29
      */
30 30
     public function can($permissionName, $params = [], $allowCaching = true)
31 31
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Checks permissions from guest role, when no user is logged in.
47 47
      *
48
-     * @param $permissionName
48
+     * @param string $permissionName
49 49
      * @param $params
50 50
      * @param $allowCaching
51 51
      *
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Splits `permissionName` by underscore and match parts against more global rule
65 65
      * eg. a permission `app_site` will match, `app_site_foo`
66 66
      *
67
-     * @param $permissionName
67
+     * @param string $permissionName
68 68
      * @param $params
69 69
      * @param $allowCaching
70 70
      *
Please login to merge, or discard this patch.
src/modules/backend/assets/AdminAsset.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.yiiframework.com/
4
- *
5
- * @copyright Copyright (c) 2008 Yii Software LLC
6
- * @license http://www.yiiframework.com/license/
7
- */
3
+     * @link http://www.yiiframework.com/
4
+     *
5
+     * @copyright Copyright (c) 2008 Yii Software LLC
6
+     * @license http://www.yiiframework.com/license/
7
+     */
8 8
 namespace app\modules\backend\assets;
9 9
 
10 10
 use yii\helpers\FileHelper;
Please login to merge, or discard this patch.
src/modules/prototype/widgets/HtmlWidget.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\modules\prototype\widgets;
11 11
 
12 12
 use yii\base\Widget;
Please login to merge, or discard this patch.
src/assets/AppAsset.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.yiiframework.com/
4
- *
5
- * @copyright Copyright (c) 2008 Yii Software LLC
6
- * @license http://www.yiiframework.com/license/
7
- */
3
+     * @link http://www.yiiframework.com/
4
+     *
5
+     * @copyright Copyright (c) 2008 Yii Software LLC
6
+     * @license http://www.yiiframework.com/license/
7
+     */
8 8
 namespace app\modules\backend\assets;
9 9
 
10 10
 use yii\helpers\FileHelper;
Please login to merge, or discard this patch.
src/modules/backend/views/layouts/box.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\modules\prototype\widgets;
11 11
 
12 12
 use yii\base\Widget;
Please login to merge, or discard this patch.
src/modules/backend/Module.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\commands;
11 11
 
12 12
 use dektrium\user\Finder;
Please login to merge, or discard this patch.
src/modules/prototype/controllers/base/HtmlController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Lists all Html models.
51
-     * @return mixed
51
+     * @return string
52 52
      */
53 53
     public function actionIndex()
54 54
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param integer $id
76 76
      *
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     public function actionView($id)
80 80
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param integer $id
144 144
      *
145
-     * @return mixed
145
+     * @return \yii\web\Response
146 146
      */
147 147
     public function actionDelete($id)
148 148
     {
Please login to merge, or discard this patch.
src/modules/prototype/controllers/base/LessController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Lists all Less models.
51
-     * @return mixed
51
+     * @return string
52 52
      */
53 53
     public function actionIndex()
54 54
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param integer $id
76 76
      *
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     public function actionView($id)
80 80
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param integer $id
144 144
      *
145
-     * @return mixed
145
+     * @return \yii\web\Response
146 146
      */
147 147
     public function actionDelete($id)
148 148
     {
Please login to merge, or discard this patch.