mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -46,11 +46,11 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||
*/
|
||||
class LabelController extends AbstractController
|
||||
{
|
||||
protected $labelGenerator;
|
||||
protected $em;
|
||||
protected $elementTypeNameGenerator;
|
||||
protected $rangeParser;
|
||||
protected $translator;
|
||||
protected LabelGenerator $labelGenerator;
|
||||
protected EntityManagerInterface $em;
|
||||
protected ElementTypeNameGenerator $elementTypeNameGenerator;
|
||||
protected RangeParser $rangeParser;
|
||||
protected TranslatorInterface $translator;
|
||||
|
||||
public function __construct(LabelGenerator $labelGenerator, EntityManagerInterface $em, ElementTypeNameGenerator $elementTypeNameGenerator,
|
||||
RangeParser $rangeParser, TranslatorInterface $translator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue