src/NodeGenerator.php 1 location
|
@@ 220-223 (lines=4) @@
|
217 |
|
|
218 |
|
$structuredLines = []; |
219 |
|
|
220 |
|
foreach ($lines as $i => $line) { |
221 |
|
$lastStructuredLine = $structuredLines[count($structuredLines) - 1] ?? ''; |
222 |
|
$this->structuredLine($line, $lastStructuredLine, $position, $structuredLines); |
223 |
|
} |
224 |
|
|
225 |
|
$structuredLines[count($structuredLines) - 1] .= ';'; |
226 |
|
|
src/QueryBuilderGenerator.php 1 location
|
@@ 195-198 (lines=4) @@
|
192 |
|
|
193 |
|
$structuredLines = []; |
194 |
|
|
195 |
|
foreach ($lines as $i => $line) { |
196 |
|
$lastLine = $lines[$i - 1] ?? ''; |
197 |
|
$this->structuredLine($line, $lastLine, $position, $structuredLines); |
198 |
|
} |
199 |
|
|
200 |
|
return implode("\n", $structuredLines); |
201 |
|
} |