@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | start: |
201 | 201 | $this->stream->ignoreWhitespace(); |
202 | 202 | |
203 | - if($this->stream->isEnd()) { |
|
203 | + if ($this->stream->isEnd()) { |
|
204 | 204 | throw new SyntaxErrorException($this->stream); |
205 | 205 | } |
206 | 206 | |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | $char = $this->stream->currentAscii(); |
271 | 271 | $this->stream->next(); |
272 | 272 | |
273 | - if($this->stream->isEnd()) { |
|
273 | + if ($this->stream->isEnd()) { |
|
274 | 274 | throw new SyntaxErrorException($this->stream); |
275 | 275 | } |
276 | 276 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date: 3/10/16 |
|
5 | - * @time: 6:27 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date: 3/10/16 |
|
5 | + * @time: 6:27 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx; |
9 | 9 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function __construct(StringStream $stream, int $code = 0, Exception $previous = null) |
27 | 27 | { |
28 | - if($stream->isEnd()) { |
|
28 | + if ($stream->isEnd()) { |
|
29 | 29 | $stream->end(); |
30 | 30 | } |
31 | 31 |