@@ -140,7 +140,6 @@ |
||
| 140 | 140 | * @param string|null $file |
| 141 | 141 | * |
| 142 | 142 | * @return string |
| 143 | - |
|
| 144 | 143 | * @throws \chillerlan\QRCode\Output\QRCodeOutputException |
| 145 | 144 | */ |
| 146 | 145 | protected function dumpImage(string $file = null):string{ |
@@ -84,9 +84,9 @@ |
||
| 84 | 84 | $matrix = $this->matrix->matrix(); |
| 85 | 85 | |
| 86 | 86 | $svg = sprintf($this->svgHeader, $this->options->cssClass, $this->options->svgViewBoxSize ?? $this->moduleCount) |
| 87 | - .$this->options->eol |
|
| 88 | - .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 89 | - .$this->options->eol; |
|
| 87 | + .$this->options->eol |
|
| 88 | + .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 89 | + .$this->options->eol; |
|
| 90 | 90 | |
| 91 | 91 | foreach($this->moduleValues as $M_TYPE => $value){ |
| 92 | 92 | $path = ''; |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace chillerlan\QRCode\Data; |
| 14 | 14 | |
| 15 | -use chillerlan\QRCode\QRCode; |
|
| 16 | 15 | use Closure; |
| 16 | +use chillerlan\QRCode\QRCode; |
|
| 17 | 17 | |
| 18 | 18 | use function array_fill, array_key_exists, array_push, array_unshift, count, floor, in_array, max, min, range; |
| 19 | 19 | |
@@ -14,10 +14,10 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace chillerlan\QRCode\Output; |
| 16 | 16 | |
| 17 | +use FPDF; |
|
| 17 | 18 | use chillerlan\QRCode\Data\QRMatrix; |
| 18 | 19 | use chillerlan\QRCode\QRCodeException; |
| 19 | 20 | use chillerlan\Settings\SettingsContainerInterface; |
| 20 | -use FPDF; |
|
| 21 | 21 | |
| 22 | 22 | use function array_values, class_exists, count, is_array; |
| 23 | 23 | |