@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | $selector = trim(substr($this->tss, $pos, $next-$pos)); |
31 | - $pos = strpos($this->tss, '}', $next)+1; |
|
31 | + $pos = strpos($this->tss, '}', $next)+1; |
|
32 | 32 | $newRules = $this->cssToRules($selector, count($rules)+$indexStart, $this->getProperties(trim(substr($this->tss, $next+1, $pos-2-$next)))); |
33 | 33 | $rules = $this->writeRule($rules, $newRules); |
34 | 34 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | private function processingInstructions($tss, $pos, $next, $indexStart) { |
64 | 64 | $rules = []; |
65 | 65 | while (($atPos = strpos($tss, '@', $pos)) !== false) { |
66 | - if ($atPos <= (int) $next) { |
|
66 | + if ($atPos <= (int) $next) { |
|
67 | 67 | $spacePos = strpos($tss, ' ', $atPos); |
68 | 68 | $funcName = substr($tss, $atPos+1, $spacePos-$atPos-1); |
69 | 69 | $pos = strpos($tss, ';', $spacePos); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | private function import($args, $indexStart) { |
82 | 82 | $fileName = $this->valueParser->parse(trim($args, '\'" ')); |
83 | - $sheet = new Sheet(file_get_contents($this->baseDir . $fileName[0]), $this->baseDir, $this->valueParser, $this->prefix); |
|
83 | + $sheet = new Sheet(file_get_contents($this->baseDir.$fileName[0]), $this->baseDir, $this->valueParser, $this->prefix); |
|
84 | 84 | return $sheet->parse(0, [], $indexStart); |
85 | 85 | } |
86 | 86 |