@@ -161,7 +161,9 @@ |
||
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | if (!empty($components)) { |
| 164 | - if ($snippets) $snippets .= PHP_EOL; |
|
| 164 | + if ($snippets) { |
|
| 165 | + $snippets .= PHP_EOL; |
|
| 166 | + } |
|
| 165 | 167 | $snippets .= $wiring->generate($twig, $components); |
| 166 | 168 | $snippets .= $wiring->generateExtend($twig, $components); |
| 167 | 169 | } |