mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Apply symplify checkers.
This commit is contained in:
parent
d0b1024d80
commit
349ab706cc
6 changed files with 17 additions and 11 deletions
|
@ -57,10 +57,10 @@ final class BarcodeContentGenerator
|
|||
$type = $this->classToString(self::URL_MAP, $target);
|
||||
|
||||
return $this->urlGenerator->generate('scan_qr', [
|
||||
'type' => $type,
|
||||
'type' => $type,
|
||||
'id' => $target->getID() ?? 0,
|
||||
'_locale' => null,
|
||||
], UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
], UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue