Passed
Push — develop ( 894dbc...ea363f )
by nguereza
01:45
created
src/ServerRequest.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 use InvalidArgumentException;
52 52
 
53
-class ServerRequest extends Request implements ServerRequestInterface
54
-{
53
+class ServerRequest extends Request implements ServerRequestInterface {
55 54
     /**
56 55
      * The array of servers params
57 56
      * @var array<string, mixed>
@@ -220,8 +219,7 @@  discard block
 block discarded – undo
220 219
     /**
221 220
      * {@inheritdoc}
222 221
      */
223
-    public function getParsedBody()
224
-    {
222
+    public function getParsedBody() {
225 223
         return $this->parsedBody;
226 224
     }
227 225
 
@@ -247,8 +245,7 @@  discard block
 block discarded – undo
247 245
     /**
248 246
      * {@inheritdoc}
249 247
      */
250
-    public function getAttribute(string $name, $default = null)
251
-    {
248
+    public function getAttribute(string $name, $default = null) {
252 249
         return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;
253 250
     }
254 251
 
@@ -300,8 +297,7 @@  discard block
 block discarded – undo
300 297
      * @param  object|array|null $data the parsed body
301 298
      * @return mixed
302 299
      */
303
-    protected function filterParsedBody($data)
304
-    {
300
+    protected function filterParsedBody($data) {
305 301
         if ($data !== null && !is_array($data) && !is_object($data)) {
306 302
             throw new InvalidArgumentException('Invalid parsed body! Parsed body must be an array or an object');
307 303
         }
Please login to merge, or discard this patch.
src/UploadedFileInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * state of the current instance and return an instance that contains the
56 56
  * changed state.
57 57
  */
58
-interface UploadedFileInterface
59
-{
58
+interface UploadedFileInterface {
60 59
     /**
61 60
      * Retrieve a stream representing the uploaded file.
62 61
      *
Please login to merge, or discard this patch.
src/UriInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
  *
68 68
  * @see http://tools.ietf.org/html/rfc3986 (the URI specification)
69 69
  */
70
-interface UriInterface
71
-{
70
+interface UriInterface {
72 71
     /**
73 72
      * Retrieve the scheme component of the URI.
74 73
      *
Please login to merge, or discard this patch.
src/Message.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,10 +198,10 @@
 block discarded – undo
198 198
 
199 199
         if ($size === null) {
200 200
             $that = $that->withHeader('Transfer-Encoding', 'chunked')
201
-                         ->withoutHeader('Content-Length');
201
+                            ->withoutHeader('Content-Length');
202 202
         } else {
203 203
             $that = $that->withHeader('Content-Length', (string) $size)
204
-                         ->withoutHeader('Transfer-Encoding');
204
+                            ->withoutHeader('Transfer-Encoding');
205 205
         }
206 206
 
207 207
         return $that;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
 
48 48
 namespace Platine\Http;
49 49
 
50
-abstract class Message implements MessageInterface
51
-{
50
+abstract class Message implements MessageInterface {
52 51
     /**
53 52
      * The message protocol version.
54 53
      * @var string
Please login to merge, or discard this patch.