mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 15:05:58 +01:00
Use typed properties
This commit is contained in:
@@ -38,8 +38,8 @@ use Symfony\Component\Routing\Annotation\Route;
|
||||
*/
|
||||
class ScanController extends AbstractController
|
||||
{
|
||||
protected $barcodeParser;
|
||||
protected $barcodeNormalizer;
|
||||
protected BarcodeRedirector $barcodeParser;
|
||||
protected BarcodeNormalizer $barcodeNormalizer;
|
||||
|
||||
public function __construct(BarcodeRedirector $barcodeParser, BarcodeNormalizer $barcodeNormalizer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user