Completed
Push — master ( 7ee34d...c3ef57 )
by Oleg
03:16
created
micro/cli/Threads.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
      * @access public
186 186
      *
187 187
      * @param string $name
188
-     * @param mixed $value
188
+     * @param integer $value
189 189
      *
190 190
      * @return void
191 191
      * @throws \Micro\base\Exception
Please login to merge, or discard this patch.
micro/mvc/controllers/RichController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @access protected
98 98
      *
99
-     * @param mixed $data Any content
99
+     * @param null|string $data Any content
100 100
      *
101 101
      * @return string
102 102
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $view = null;
55 55
         if ($actionClass) {
56 56
             /** @var \Micro\mvc\Action $cl */
57
-            $cl = new $actionClass ($this->container);
57
+            $cl = new $actionClass($this->container);
58 58
             $view = $cl->run();
59 59
         } else {
60 60
             $view = $this->{'action' . ucfirst($name)}();
Please login to merge, or discard this patch.
micro/mvc/controllers/ViewController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @param string $path path to redirect
82 82
      *
83
-     * @return void|bool
83
+     * @return null|false
84 84
      */
85 85
     public function redirect($path)
86 86
     {
Please login to merge, or discard this patch.
micro/mvc/models/Model.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
      *
320 320
      * @param string $name Attribute name
321 321
      *
322
-     * @return array
322
+     * @return boolean
323 323
      */
324 324
     public function checkAttributeExists($name)
325 325
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@
 block discarded – undo
372 372
                 if (self::$primaryKey) {
373 373
                     $where .= '`' . self::$primaryKey . '` = :' . self::$primaryKey;
374 374
                 } else {
375
-                    throw new Exception ($this->container,
375
+                    throw new Exception($this->container,
376 376
                         'In table ' . static::tableName() . ' option `id` not defined/not use.'
377 377
                     );
378 378
                 }
Please login to merge, or discard this patch.
micro/web/Curl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      *
105 105
      * @access public
106 106
      *
107
-     * @param mixed $option
107
+     * @param integer $option
108 108
      * @param mixed $value
109 109
      *
110 110
      * @return bool
Please login to merge, or discard this patch.
micro/web/FlashMessage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param int $type type id
53 53
      *
54
-     * @return mixed
54
+     * @return string
55 55
      * @static
56 56
      */
57 57
     public static function getTypeLabel($type = self::TYPE_SUCCESS)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * Get labels for types
64 64
      *
65 65
      * @access public
66
-     * @return array
66
+     * @return string[]
67 67
      * @static
68 68
      */
69 69
     public static function getTypeLabels()
Please login to merge, or discard this patch.
micro/cli/Console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         }
66 66
 
67 67
         /** @var \Micro\cli\ConsoleCommand $command */
68
-        $command = new $command (['container' => $this->container, 'args' => $this->args]);
68
+        $command = new $command(['container' => $this->container, 'args' => $this->args]);
69 69
         $command->execute();
70 70
 
71 71
         return $command;
Please login to merge, or discard this patch.
micro/file/FileHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 
126 126
         $dir = opendir($src);
127 127
         if (!$dir) {
128
-            throw new Exception('Unable to read dir: '. $src);
128
+            throw new Exception('Unable to read dir: ' . $src);
129 129
         }
130 130
 
131 131
         while (false !== ($file = readdir($dir))) {
Please login to merge, or discard this patch.
micro/resolver/HMVCResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             throw new Exception('Controller ' . $cls . ' not found');
56 56
         }
57 57
 
58
-        return new $cls ($this->container, $this->getModules());
58
+        return new $cls($this->container, $this->getModules());
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.