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 1 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 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.