@@ -233,7 +233,7 @@ |
||
233 | 233 | public function read(int $bytes): string |
234 | 234 | { |
235 | 235 | $buffer = ''; |
236 | - $this->input->read($bytes, function ($data) use (&$buffer) { |
|
236 | + $this->input->read($bytes, function($data) use (&$buffer) { |
|
237 | 237 | $buffer .= $data; |
238 | 238 | }); |
239 | 239 | return $buffer; |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $inputStream = new ResourceInputStream($stream); |
34 | 34 | |
35 | 35 | $input = ''; |
36 | - $inputStream->read(4, function ($buffer) use (&$input) { |
|
36 | + $inputStream->read(4, function($buffer) use (&$input) { |
|
37 | 37 | $input .= $buffer; |
38 | 38 | }); |
39 | 39 |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function isControl() : bool |
60 | 60 | { |
61 | - return preg_match( '/[\x00-\x1F\x7F]/', $this->data); |
|
61 | + return preg_match('/[\x00-\x1F\x7F]/', $this->data); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function isNotControl() : bool |
68 | 68 | { |
69 | - return ! $this->isControl(); |
|
69 | + return !$this->isControl(); |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |