mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed failing test
This commit is contained in:
parent
afa2724261
commit
efa4325836
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ final class BarcodeExtension extends AbstractExtension
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function barcodeSVG(string $content, string $type): string
|
public function barcodeSVG(string $content, string $type = 'QRCODE'): string
|
||||||
{
|
{
|
||||||
$barcodeFactory = new Barcode();
|
$barcodeFactory = new Barcode();
|
||||||
return $barcodeFactory->getBarcodeObj($type, $content)->getSvgCode();
|
return $barcodeFactory->getBarcodeObj($type, $content)->getSvgCode();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue