mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-25 00:27:32 +01:00
Use typed properties
This commit is contained in:
@@ -76,11 +76,8 @@ use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
*/
|
||||
class EntityURLGenerator
|
||||
{
|
||||
protected $attachmentURLGenerator;
|
||||
/**
|
||||
* @var UrlGeneratorInterface
|
||||
*/
|
||||
protected $urlGenerator;
|
||||
protected UrlGeneratorInterface $urlGenerator;
|
||||
protected AttachmentURLGenerator $attachmentURLGenerator;
|
||||
|
||||
public function __construct(UrlGeneratorInterface $urlGenerator, AttachmentURLGenerator $attachmentURLGenerator)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user