@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * @var string |
33 | 33 | */ |
34 | 34 | private const STREAM_DUPLICATION_EXCEPTION = |
35 | - 'Could not create stream "%s", because stream ' . |
|
35 | + 'Could not create stream "%s", because stream '. |
|
36 | 36 | 'with same name already has been registered.'; |
37 | 37 | |
38 | 38 | /** |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | { |
102 | 102 | \assert($complexity > 0, 'Name complexity should be greater than 0'); |
103 | 103 | |
104 | - $name = 'stream' . \bin2hex(\random_bytes($complexity)); |
|
104 | + $name = 'stream'.\bin2hex(\random_bytes($complexity)); |
|
105 | 105 | |
106 | 106 | return static::create($name, $wrapper); |
107 | 107 | } |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | */ |
192 | 192 | public static function get(string $protocol): StreamInterface |
193 | 193 | { |
194 | - if (! isset(static::$streams[$protocol])) { |
|
194 | + if (!isset(static::$streams[$protocol])) { |
|
195 | 195 | $error = \sprintf('Protocol "%s://" should be registered', $protocol); |
196 | 196 | throw new StreamCreatingException($error); |
197 | 197 | } |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | */ |
322 | 322 | private function assertIsFile(string $pathname): void |
323 | 323 | { |
324 | - if (! \is_file($pathname)) { |
|
324 | + if (!\is_file($pathname)) { |
|
325 | 325 | $error = \sprintf('File %s not found', $pathname); |
326 | 326 | throw new NotFoundException($error); |
327 | 327 | } |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | */ |
335 | 335 | private function assertIsReadable(string $pathname): void |
336 | 336 | { |
337 | - if (! \is_readable($pathname)) { |
|
337 | + if (!\is_readable($pathname)) { |
|
338 | 338 | $error = \sprintf('File %s not readable', $pathname); |
339 | 339 | throw new NotReadableException($error); |
340 | 340 | } |