@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | public function __toString() |
52 | 52 | { |
53 | - return (string)$this->pattern; |
|
53 | + return (string) $this->pattern; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | $this->set = count_chars($set, 3); |
41 | - $this->include = (bool)$include; |
|
41 | + $this->include = (bool) $include; |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | protected function parse(&$input, $offset, Context $context) |
@@ -58,7 +58,7 @@ |
||
58 | 58 | { |
59 | 59 | /** @noinspection HtmlUnknownTag */ |
60 | 60 | return $this->parser |
61 | - ? (string)$this->parser |
|
61 | + ? (string) $this->parser |
|
62 | 62 | : '<undefined>'; |
63 | 63 | } |
64 | 64 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $this->last = $last === null |
32 | 32 | ? null |
33 | 33 | : self::parseCharacter($last); |
34 | - $this->in = (bool)$in; |
|
34 | + $this->in = (bool) $in; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | protected function parse(&$input, $offset, Context $context) |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | public function pushCaseSensitivity($caseSensitive = true) |
10 | 10 | { |
11 | - array_push($this->caseSensitivity, (bool)$caseSensitive); |
|
11 | + array_push($this->caseSensitivity, (bool) $caseSensitive); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | public function popCaseSensitivity() |
@@ -69,7 +69,7 @@ |
||
69 | 69 | if ($skip !== false) { |
70 | 70 | $match = $this->parser->parse($input, $offset + $length + $skip, $context); |
71 | 71 | if ($match instanceof Success) { |
72 | - $length += $skip + $match->length; |
|
72 | + $length += $skip + $match->length; |
|
73 | 73 | $childMatches[] = $match; |
74 | 74 | } |
75 | 75 | } |