Completed
Push — master ( 2bc843...e59b65 )
by Sergey
03:29
created
src/LTDBeget/stringstream/StringStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.