Completed
Push — master ( cfad91...f5112d )
by Filipe
02:20
created
src/PhpEnvironment/ServerRequestUri.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Detects and returns the request base path (without script name)
81 81
      *
82
-     * @return mixed|string
82
+     * @return string
83 83
      */
84 84
     public function getBasePath()
85 85
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      *
113 113
      * Uses the server parameter values to determine the correct request path
114 114
      *
115
-     * @return mixed|string
115
+     * @return string
116 116
      */
117 117
     protected function detectBasePath()
118 118
     {
Please login to merge, or discard this patch.
src/Server/UploadedFile.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      * the file in the $_FILES array if available, as PHP calculates this based
179 179
      * on the actual size transmitted.
180 180
      *
181
-     * @return int|null The file size in bytes or null if unknown.
181
+     * @return integer The file size in bytes or null if unknown.
182 182
      */
183 183
     public function getSize()
184 184
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * Implementations SHOULD return the value stored in the "name" key of
215 215
      * the file in the $_FILES array.
216 216
      *
217
-     * @return string|null The filename sent by the client or null if none
217
+     * @return string The filename sent by the client or null if none
218 218
      *     was provided.
219 219
      */
220 220
     public function getClientFilename()
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      * Implementations SHOULD return the value stored in the "type" key of
233 233
      * the file in the $_FILES array.
234 234
      *
235
-     * @return string|null The media type sent by the client or null if none
235
+     * @return string The media type sent by the client or null if none
236 236
      *     was provided.
237 237
      */
238 238
     public function getClientMediaType()
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     /**
269 269
      * Sets the size of this  file
270 270
      *
271
-     * @param $size
271
+     * @param integer $size
272 272
      *
273 273
      * @return self|$this|UploadedFileInterface
274 274
      */
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
 
404 404
     /**
405 405
      * Move current uploaded file to provided target destination
406
-     * @param $target
406
+     * @param string $target
407 407
      *
408 408
      * @return bool
409 409
      */
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
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      *
92 92
      * After the stream has been detached, the stream is in an unusable state.
93 93
      *
94
-     * @return resource|null Underlying PHP stream, if any
94
+     * @return resource Underlying PHP stream, if any
95 95
      */
96 96
     public function detach()
97 97
     {
Please login to merge, or discard this patch.