Completed
Branch master (2d0e67)
by zacksleo
04:16
created
src/controllers/AdController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * Lists all Ad models.
34
-     * @return mixed
34
+     * @return string
35 35
      */
36 36
     public function actionIndex()
37 37
     {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Displays a single Ad model.
49 49
      * @param integer $id
50
-     * @return mixed
50
+     * @return string
51 51
      */
52 52
     public function actionView($id)
53 53
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * Deletes an existing Ad model.
98 98
      * If deletion is successful, the browser will be redirected to the 'index' page.
99 99
      * @param integer $id
100
-     * @return mixed
100
+     * @return \yii\web\Response
101 101
      */
102 102
     public function actionDelete($id)
103 103
     {
Please login to merge, or discard this patch.
src/controllers/AdPositionController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * Lists all AdPosition models.
34
-     * @return mixed
34
+     * @return string
35 35
      */
36 36
     public function actionIndex()
37 37
     {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Displays a single AdPosition model.
49 49
      * @param integer $id
50
-     * @return mixed
50
+     * @return string
51 51
      */
52 52
     public function actionView($id)
53 53
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * Deletes an existing AdPosition model.
98 98
      * If deletion is successful, the browser will be redirected to the 'index' page.
99 99
      * @param integer $id
100
-     * @return mixed
100
+     * @return \yii\web\Response
101 101
      */
102 102
     public function actionDelete($id)
103 103
     {
Please login to merge, or discard this patch.
src/models/Ad.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
     /**
102 102
      * 状态列表
103
-     * @return array
103
+     * @return string[]
104 104
      */
105 105
     public static function getStatusList()
106 106
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace zacksleo\yii2\ad\models;
4 4
 
5
-use Yii;
6 5
 use yii\helpers\Url;
7 6
 use zacksleo\yii2\ad\Module;
8 7
 use zacksleo\yii2\gallery\behaviors\UploadImageBehavior;
Please login to merge, or discard this patch.