Passed
Push — main ( 5b8cd4...64b6a7 )
by smiley
01:44
created
src/Psr7/UploadedFile.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 use Psr\Http\Message\{StreamInterface, UploadedFileInterface};
15 15
 use InvalidArgumentException, RuntimeException;
16 16
 
17
-use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name,rename;
17
+use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name, rename;
18 18
 
19 19
 use const UPLOAD_ERR_CANT_WRITE, UPLOAD_ERR_EXTENSION, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_INI_SIZE,
20 20
 	UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_OK, UPLOAD_ERR_PARTIAL;
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 	/**
133 133
 	 * @inheritDoc
134 134
 	 */
135
-	public function getSize():?int{
135
+	public function getSize(): ?int{
136 136
 		return $this->size;
137 137
 	}
138 138
 
@@ -146,14 +146,14 @@  discard block
 block discarded – undo
146 146
 	/**
147 147
 	 * @inheritDoc
148 148
 	 */
149
-	public function getClientFilename():?string{
149
+	public function getClientFilename(): ?string{
150 150
 		return $this->clientFilename;
151 151
 	}
152 152
 
153 153
 	/**
154 154
 	 * @inheritDoc
155 155
 	 */
156
-	public function getClientMediaType():?string{
156
+	public function getClientMediaType(): ?string{
157 157
 		return $this->clientMediaType;
158 158
 	}
159 159
 
Please login to merge, or discard this patch.
src/Psr17/FactoryHelpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 class FactoryHelpers{
22 22
 
23 23
 	public const STREAM_MODES_READ_WRITE = [
24
-		'a+', 'c+', 'c+b', 'c+t', 'r+' , 'r+b', 'r+t', 'w+' , 'w+b', 'w+t', 'x+' , 'x+b', 'x+t'
24
+		'a+', 'c+', 'c+b', 'c+t', 'r+', 'r+b', 'r+t', 'w+', 'w+b', 'w+t', 'x+', 'x+b', 'x+t'
25 25
 	];
26 26
 	public const STREAM_MODES_READ       = [...self::STREAM_MODES_READ_WRITE, 'r', 'rb', 'rt'];
27 27
 	public const STREAM_MODES_WRITE      = [...self::STREAM_MODES_READ_WRITE, 'a', 'rw', 'w', 'wb'];
Please login to merge, or discard this patch.