Completed
Push — master ( 28dc0b...675da0 )
by Changwan
07:45
created
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/CreateQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@
 block discarded – undo
359 359
     }
360 360
 
361 361
     /**
362
-     * @param string|\Wandu\Database\Contracts\ExpressionInterface $name
362
+     * @param string $name
363 363
      * @param string $type
364 364
      * @param array $attributes
365 365
      * @return \Wandu\Database\Query\Expression\ColumnExpression|\Wandu\Database\Contracts\ExpressionInterface
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/Database/Repository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
 
251 251
     /**
252 252
      * @param mixed $entity
253
-     * @return string|int
253
+     * @return null|callable
254 254
      */
255 255
     private function getIdentifier($entity)
256 256
     {
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 ($name instanceof ExpressionInterface) {
Please login to merge, or discard this patch.
src/Wandu/Http/Factory/ResponseFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @param \Psr\Http\Message\UriInterface|string $path
141
+     * @param string $path
142 142
      * @param int $status
143 143
      * @param array $headers
144 144
      * @return \Psr\Http\Message\ResponseInterface
Please login to merge, or discard this patch.
src/Wandu/Router/Dispatcher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Wandu\Router;
3 3
 
4
-use Closure;
5 4
 use Psr\Http\Message\ServerRequestInterface;
6 5
 use Wandu\Router\Contracts\Dispatchable;
7 6
 use Wandu\Router\Contracts\LoaderInterface;
Please login to merge, or discard this patch.