Completed
Push — master ( 204760...d7809c )
by Sebastian
02:32
created
src/Psr7/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @copyright (c) 2018, Sebastian Rapetti
8 8
  * @license http://opensource.org/licenses/MIT MIT License
9 9
  */
10
-declare(strict_types=1);
10
+declare(strict_types = 1);
11 11
 
12 12
 namespace Linna\Psr7;
13 13
 
Please login to merge, or discard this patch.
src/Psr7/Stream.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @copyright (c) 2018, Sebastian Rapetti
8 8
  * @license http://opensource.org/licenses/MIT MIT License
9 9
  */
10
-declare(strict_types=1);
10
+declare(strict_types = 1);
11 11
 
12 12
 namespace Linna\Psr7;
13 13
 
@@ -281,8 +281,7 @@  discard block
 block discarded – undo
281 281
         //if key is empty strung
282 282
         return ($key === '') ?
283 283
             //return metadata
284
-            $metadata :
285
-            //else check if key exist and if key exist return as array else return void array
284
+            $metadata : //else check if key exist and if key exist return as array else return void array
286 285
             (isset($metadata[$key]) ? [$key => $metadata[$key]] : []);
287 286
     }
288 287
 }
Please login to merge, or discard this patch.
src/Psr7/Message.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,13 +21,13 @@
 block discarded – undo
21 21
 abstract class Message implements MessageInterface
22 22
 {
23 23
     /**
24
-    * @var string Protocol version.
25
-    */
24
+     * @var string Protocol version.
25
+     */
26 26
     protected $protocolVersion = '1.1';
27 27
 
28 28
     /**
29
-    * @var array Allowed protocol versions.
30
-    */
29
+     * @var array Allowed protocol versions.
30
+     */
31 31
     protected static $allowedProtocolVersions = [
32 32
         '1.0' => true,
33 33
         '1.1' => true,
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @copyright (c) 2018, Sebastian Rapetti
8 8
  * @license http://opensource.org/licenses/MIT MIT License
9 9
  */
10
-declare(strict_types=1);
10
+declare(strict_types = 1);
11 11
 
12 12
 namespace Linna\Psr7;
13 13
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     {
93 93
         $this->normalize($name);
94 94
                 
95
-        return isset($this->headers[$name]) ?  $this->headers[$name] : [];
95
+        return isset($this->headers[$name]) ? $this->headers[$name] : [];
96 96
     }
97 97
 
98 98
     /**
Please login to merge, or discard this patch.
src/Psr7/UriTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @copyright (c) 2018, Sebastian Rapetti
8 8
  * @license http://opensource.org/licenses/MIT MIT License
9 9
  */
10
-declare(strict_types=1);
10
+declare(strict_types = 1);
11 11
 
12 12
 namespace Linna\Psr7;
13 13
 
Please login to merge, or discard this patch.
src/Psr7/Uri.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -270,10 +270,10 @@
 block discarded – undo
270 270
 
271 271
         return $this->createUriString(
272 272
             ($scheme !== '') ? $scheme.'://' : '',
273
-               $this->getAuthority(),
274
-               $this->getPath(),
275
-               ($query !== '') ? '?'.$query : '',
276
-               ($fragment !== '') ? '#'.$fragment : ''
273
+                $this->getAuthority(),
274
+                $this->getPath(),
275
+                ($query !== '') ? '?'.$query : '',
276
+                ($fragment !== '') ? '#'.$fragment : ''
277 277
         );
278 278
     }
279 279
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @copyright (c) 2018, Sebastian Rapetti
8 8
  * @license http://opensource.org/licenses/MIT MIT License
9 9
  */
10
-declare(strict_types=1);
10
+declare(strict_types = 1);
11 11
 
12 12
 namespace Linna\Psr7;
13 13
 
Please login to merge, or discard this patch.