Completed
Push — master ( 76a40b...1bfc5d )
by Marc
03:05
created
core/base/Boot.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * Run the application based on the Sapi Name.
102 102
      *
103
-     * @return luya\web\Application|luya\cli\Application Application objected based on the sapi name.
103
+     * @return null|integer Application objected based on the sapi name.
104 104
      */
105 105
     public function run()
106 106
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Run Web-Application based on the provided config file.
135 135
      * 
136
-     * @return string|void Returns the Yii Application run() method if mock is disabled. Otherwise returns void
136
+     * @return integer|null Returns the Yii Application run() method if mock is disabled. Otherwise returns void
137 137
      */
138 138
     public function applicationWeb()
139 139
     {
Please login to merge, or discard this patch.
core/console/commands/MigrateController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -42,6 +42,11 @@
 block discarded – undo
42 42
         }
43 43
     }
44 44
 
45
+    /**
46
+     * @param string|boolean $module
47
+     *
48
+     * @return string
49
+     */
45 50
     private function getModuleMigrationDirectorie($module)
46 51
     {
47 52
         if (!array_key_exists($module, $this->moduleMigrationDirectories)) {
Please login to merge, or discard this patch.
core/console/commands/SetupController.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@  discard block
 block discarded – undo
9 9
 
10 10
 class SetupController extends \luya\console\Command
11 11
 {
12
+    /**
13
+     * @param string $table
14
+     */
12 15
     private function insert($table, $fields)
13 16
     {
14 17
         return Yii::$app->db->createCommand()->insert($table, $fields)->execute();
@@ -84,8 +87,6 @@  discard block
 block discarded – undo
84 87
      * @todo use options instead, override options()
85 88
      * @todo see if admin is availoable
86 89
      *
87
-     * @param string $email
88
-     * @param string $password
89 90
      */
90 91
     public function actionIndex()
91 92
     {
Please login to merge, or discard this patch.
core/helpers/Url.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      *
38 38
      * @param string $route
39 39
      * @param array  $params
40
-     * @param boolean $sheme Whether to return static url or not
40
+     * @param boolean $scheme Whether to return static url or not
41 41
      * @todo we have to remove this method as it provides no additinal functions to the yii\helpers\url to method
42 42
      */
43 43
     public static function toManager($route, array $params = [], $scheme = false)
Please login to merge, or discard this patch.
core/web/Composition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
     /**
235 235
      * Return a path like string with all composition with trailing slash e.g. us/e.
236 236
      *
237
-     * @return void|string
237
+     * @return string
238 238
      */
239 239
     public function getFull()
240 240
     {
Please login to merge, or discard this patch.
core/console/Controller.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Helper method to stop the console command with an error message, outputError returns exit code 1.
48 48
      *
49 49
      * @param string $message The message which should be displayed.
50
-     * @return number Exit code 1
50
+     * @return integer Exit code 1
51 51
      */
52 52
     public function outputError($message)
53 53
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * Helper method to stop the console command with a success message, outputSuccess returns exit code 0.
61 61
      *
62 62
      * @param string $message The message which sould be displayed
63
-     * @return number Exit code 0
63
+     * @return integer Exit code 0
64 64
      */
65 65
     public function outputSuccess($message)
66 66
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * but does have a different output color (blue). outputInfo returns exit code 0.
75 75
      * 
76 76
      * @param string $message The message which sould be displayed.
77
-     * @return number Exit code 0
77
+     * @return integer Exit code 0
78 78
      * @since 1.0.0-beta5
79 79
      */
80 80
     public function outputInfo($message)
Please login to merge, or discard this patch.
core/base/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      * Define a last of importer class with an array or run code directily with the import() method.
199 199
      * 
200 200
      * @param ImportControllerInterface $importer
201
-     * @return boolean|array
201
+     * @return boolean
202 202
      */
203 203
     public function import(ImportControllerInterface $importer)
204 204
     {
Please login to merge, or discard this patch.
core/console/Importer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@
 block discarded – undo
71 71
      * $this->addLog('block', 'new block <ID> have been found and added to database');
72 72
      * ```
73 73
      * 
74
-     * @param string $section
75 74
      * @param string $value
76 75
 	 * @todo trigger deprecated section call
77 76
      */
Please login to merge, or discard this patch.
core/console/commands/BlockController.php 1 patch
Doc Comments   +17 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,6 +61,11 @@  discard block
 block discarded – undo
61 61
         ];
62 62
     }
63 63
     
64
+    /**
65
+     * @param string $type
66
+     * @param string $varName
67
+     * @param string $func
68
+     */
64 69
     private function getExtraVarDef($type, $varName, $func)
65 70
     {
66 71
         $info = [
@@ -77,6 +82,9 @@  discard block
 block discarded – undo
77 82
         return false;
78 83
     }
79 84
 
85
+    /**
86
+     * @param string $type
87
+     */
80 88
     private function getVariableTypeOption($type)
81 89
     {
82 90
         $types = $this->getVariableTypesOptions();
@@ -84,6 +92,9 @@  discard block
 block discarded – undo
84 92
         return $types[$type];
85 93
     }
86 94
 
95
+    /**
96
+     * @param string $type
97
+     */
87 98
     private function hasVariableTypeOption($type)
88 99
     {
89 100
         return array_key_exists($type, $this->getVariableTypesOptions());
@@ -92,7 +103,7 @@  discard block
 block discarded – undo
92 103
     /**
93 104
      * Wizzard to create a new CMS block.
94 105
      * 
95
-     * @return number
106
+     * @return integer
96 107
      */
97 108
     public function actionCreate()
98 109
     {
@@ -302,6 +313,9 @@  discard block
 block discarded – undo
302 313
         return $this->outputError("Error while creating file '$file'");
303 314
     }
304 315
 
316
+    /**
317
+     * @param string $prefix
318
+     */
305 319
     private function placeholderCreator($prefix)
306 320
     {
307 321
         $this->output(PHP_EOL.'-> Create new '.$prefix, Console::FG_YELLOW);
@@ -320,8 +334,8 @@  discard block
 block discarded – undo
320 334
 
321 335
     /**
322 336
      * 
323
-     * @param unknown $prefix
324
-     * @param string $type 'var', 'cfg'
337
+     * @param string $prefix
338
+     * @param string $typeCast
325 339
      * @return multitype:string Ambigous <string, array>
326 340
      */
327 341
     private function varCreator($prefix, $typeCast)
Please login to merge, or discard this patch.