@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | public function __construct(string $string) |
| 25 | 25 | { |
| 26 | - if(empty($string)) { |
|
| 26 | + if (empty($string)) { |
|
| 27 | 27 | throw new \BadMethodCallException("Cannot make stream from empty string"); |
| 28 | 28 | } |
| 29 | 29 | |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | public function ignoreWhitespace() |
| 139 | 139 | { |
| 140 | 140 | ignoreWhitespace: |
| 141 | - if (! $this->isEnd() && $this->currentAscii()->isWhiteSpace()) { |
|
| 141 | + if (!$this->isEnd() && $this->currentAscii()->isWhiteSpace()) { |
|
| 142 | 142 | $this->next(); |
| 143 | 143 | goto ignoreWhitespace; |
| 144 | 144 | } |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | public function ignoreVerticalSpace() |
| 163 | 163 | { |
| 164 | 164 | ignoreHorizontalSpace: |
| 165 | - if (! $this->isEnd() && $this->currentAscii()->isVerticalSpace()) { |
|
| 165 | + if (!$this->isEnd() && $this->currentAscii()->isVerticalSpace()) { |
|
| 166 | 166 | $this->next(); |
| 167 | 167 | goto ignoreHorizontalSpace; |
| 168 | 168 | } |