Completed
Push — master ( af1339...c893cf )
by Bohuslav
03:14
created
src/Headers.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -123,6 +123,9 @@
 block discarded – undo
123 123
         return $this->data;
124 124
     }
125 125
 
126
+    /**
127
+     * @param string $name
128
+     */
126 129
     public function remove($name)
127 130
     {
128 131
         $name = $this->normalizeName($name);
Please login to merge, or discard this patch.
src/ServerRequest.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,12 +130,12 @@
 block discarded – undo
130 130
      * @param UriInterface          $uri             The request URI object
131 131
      * @param array|null            $cookies         The request cookies collection
132 132
      * @param string                $requestMethod   The request method
133
-     * @param array                 $uploadedFiles   The request uploadedFiles collection
134
-     * @param HeadersInterface      $headers         The request headers collection
133
+     * @param array                 $uploadFiles   The request uploadedFiles collection
134
+     * @param Headers      $headers         The request headers collection
135 135
      * @param StreamInterface|null  $body            The request body object
136 136
      * @param array                 $serverVariables The server environment variables
137
-     * @param string                $protocolVersion The request version of the protocol
138 137
      * @param array                 $attributes      The request attributs
138
+     * @param string $protocol
139 139
      * 
140 140
      */
141 141
     public function __construct(
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 // \HttpMessage
13 13
 use Kambo\HttpMessage\Uri;
14 14
 use Kambo\HttpMessage\Message;
15
-use Kambo\HttpMessage\UploadedFile;
16 15
 use Kambo\HttpMessage\Headers;
17 16
 use Kambo\HttpMessage\Parser\Parser;
18 17
 use Kambo\HttpMessage\RequestTrait;
Please login to merge, or discard this patch.
src/Stream.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      *
82 82
      * After the stream has been detached, the stream is in an unusable state.
83 83
      *
84
-     * @return resource|null Underlying PHP stream, if any
84
+     * @return resource Underlying PHP stream, if any
85 85
      */
86 86
     public function detach()
87 87
     {
Please login to merge, or discard this patch.