mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-21 22:57:31 +01:00
Fixed failing test
This commit is contained in:
@@ -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();
|
||||
return $barcodeFactory->getBarcodeObj($type, $content)->getSvgCode();
|
||||
|
||||
Reference in New Issue
Block a user