Completed
Push — master ( dc7866...8155ff )
by Changwan
06:46
created
src/Wandu/Console/Commands/PsyshCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Psy\Shell;
5 5
 use Wandu\Console\Command;
6
-use Wandu\Q\Queue;
7 6
 
8 7
 class PsyshCommand extends Command
9 8
 {
Please login to merge, or discard this patch.
src/Wandu/Http/Traits/RequestTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param mixed $method
112
+     * @param string|null $method
113 113
      * @return string
114 114
      */
115 115
     protected function filterMethod($method)
Please login to merge, or discard this patch.
src/Wandu/Database/Query/Expression/LogicalExpression.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -52,6 +52,12 @@
 block discarded – undo
52 52
         return $this;
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $logicalOp
57
+     * @param callable $name
58
+     * @param string $operator
59
+     * @param string $value
60
+     */
55 61
     protected function addWhereQuery($logicalOp, $name, $operator = null, $value = null)
56 62
     {
57 63
         if (!is_string($name) && is_callable($name)) {
Please login to merge, or discard this patch.
src/Wandu/Collection/Contracts/ListInterface.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,16 +40,19 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @param string $key
42 42
      * @param mixed $value
43
+     * @return void
43 44
      */
44 45
     public function set($key, $value);
45 46
 
46 47
     /**
47 48
      * @param string[] ...$keys
49
+     * @return void
48 50
      */
49 51
     public function remove(...$keys);
50 52
 
51 53
     /**
52 54
      * @param string[] ...$keys
55
+     * @return boolean
53 56
      */
54 57
     public function has(...$keys);
55 58
 
@@ -80,7 +83,7 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param callable $handler
83
-     * @return \Wandu\Collection\Contracts\MapInterface<\Wandu\Collection\Contracts\ListInterface>
86
+     * @return \Wandu\Collection\ArrayMap
84 87
      */
85 88
     public function groupBy(callable $handler);
86 89
 
Please login to merge, or discard this patch.
src/Wandu/Http/Parameters/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param mixed $name
112
+     * @param string $name
113 113
      */
114 114
     protected function validNameArgument($name)
115 115
     {
Please login to merge, or discard this patch.
src/Wandu/Validator/ValidatorFactory.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@  discard block
 block discarded – undo
138 138
         return $validator;
139 139
     }
140 140
     
141
+    /**
142
+     * @param string $pattern
143
+     */
141 144
     protected function getMethodAndParams($pattern)
142 145
     {
143 146
         if (false === $pivot = strpos($pattern, ':')) {
@@ -147,6 +150,10 @@  discard block
 block discarded – undo
147 150
         preg_match_all('/\/[^\/]*\/|[^,]+/', substr($pattern, $pivot + 1), $matches);
148 151
         $params = array_reduce(
149 152
             $matches[0],
153
+
154
+            /**
155
+             * @param string $carry
156
+             */
150 157
             function ($carry, $value) {
151 158
                 $value = trim($value);
152 159
                 if ($value) {
Please login to merge, or discard this patch.
src/Wandu/Router/Router.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     }
169 169
     
170 170
     /**
171
-     * @param array $methods
171
+     * @param string[] $methods
172 172
      * @param string $path
173 173
      * @param string $className
174 174
      * @param string $methodName
Please login to merge, or discard this patch.
src/Wandu/DI/Container.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -290,6 +290,9 @@
 block discarded – undo
290 290
         return $this;
291 291
     }
292 292
 
293
+    /**
294
+     * @param string $className
295
+     */
293 296
     protected function createDescriptor($name, ResolverInterface $resolver, $className = null): Descriptor
294 297
     {
295 298
         $this->destroy($name);
Please login to merge, or discard this patch.
src/Wandu/DI/Resolvers/BindResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
     /** @var string */
14 14
     protected $className;
15 15
 
16
+    /**
17
+     * @param string $className
18
+     */
16 19
     public function __construct($className)
17 20
     {
18 21
         $this->className = $className;
Please login to merge, or discard this patch.