Apply symplify checkers.

This commit is contained in:
Jan Böhmer 2020-08-21 21:38:31 +02:00
parent d0b1024d80
commit 349ab706cc
6 changed files with 17 additions and 11 deletions

View file

@ -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);
}
/**