Completed
Pull Request — master (#924)
by Martin
03:01
created
core/console/Command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function verbosePrint($message, $section = null)
36 36
     {
37 37
         if ($this->verbose) {
38
-            $this->output((!empty($section)) ? $section . ': ' . $message : $message);
38
+            $this->output((!empty($section)) ? $section.': '.$message : $message);
39 39
         }
40 40
     }
41 41
     
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             $name = substr($name, 0, -(strlen($suffix)));
118 118
         }
119 119
     
120
-        return $name . $suffix;
120
+        return $name.$suffix;
121 121
     }
122 122
     
123 123
     /**
Please login to merge, or discard this patch.
core/traits/CacheableTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@
 block discarded – undo
73 73
      * @param string $key The identifier key
74 74
      * @param mixed $value The value to store in the cache component.
75 75
      * @param \yii\caching\Dependency $dependency Dependency of the cached item. If the dependency changes, the corresponding value in the cache will be invalidated when it is fetched via get(). This parameter is ignored if $serializer is false.
76
+     * @param integer $cacheExpiration
76 77
      * @return void
77 78
      */
78 79
     public function setHasCache($key, $value, $dependency = null, $cacheExpiration = null)
Please login to merge, or discard this patch.
core/console/commands/SetupController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * This action of setup will add a new user, group, languaga, permissions and default homepage and container.
64 64
      * 
65
-     * @return boolean
65
+     * @return integer
66 66
      */
67 67
     public function actionIndex()
68 68
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Create a new user and append them to an existing group.
155 155
      * 
156
-     * @return booelan
156
+     * @return integer
157 157
      */
158 158
     public function actionUser()
159 159
     {
Please login to merge, or discard this patch.