Completed
Push — master ( ec2c45...874b07 )
by Tobias
03:11
created
src/ServerRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
Please login to merge, or discard this patch.
src/MessageTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     private function trimHeaderValues(array $values): array
187 187
     {
188
-        return array_map(function ($value) {
188
+        return array_map(function($value) {
189 189
             return trim($value, " \t");
190 190
         }, $values);
191 191
     }
Please login to merge, or discard this patch.
src/Factory/StreamFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7\Factory;
6 6
 
Please login to merge, or discard this patch.
src/Uri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
Please login to merge, or discard this patch.
src/Factory/MessageFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7\Factory;
6 6
 
Please login to merge, or discard this patch.
src/Factory/UriFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7\Factory;
6 6
 
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
Please login to merge, or discard this patch.
src/UploadedFile.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
Please login to merge, or discard this patch.
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -124,11 +124,17 @@  discard block
 block discarded – undo
124 124
         return in_array(gettype($param), ['string', 'NULL']);
125 125
     }
126 126
 
127
+    /**
128
+     * @param string $param
129
+     */
127 130
     private function isStringNotEmpty($param): bool
128 131
     {
129 132
         return is_string($param) && false === empty($param);
130 133
     }
131 134
 
135
+    /**
136
+     * @param string|null $clientFilename
137
+     */
132 138
     private function setClientFilename($clientFilename): void
133 139
     {
134 140
         if (false === $this->isStringOrNull($clientFilename)) {
@@ -138,6 +144,9 @@  discard block
 block discarded – undo
138 144
         $this->clientFilename = $clientFilename;
139 145
     }
140 146
 
147
+    /**
148
+     * @param string|null $clientMediaType
149
+     */
141 150
     private function setClientMediaType($clientMediaType): void
142 151
     {
143 152
         if (false === $this->isStringOrNull($clientMediaType)) {
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nyholm\Psr7;
6 6
 
Please login to merge, or discard this patch.