mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-09 20:49:30 +00:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
|
@ -59,9 +59,9 @@ use SplFileInfo;
|
|||
*/
|
||||
class AttachmentDeleteListener
|
||||
{
|
||||
protected $attachmentReverseSearch;
|
||||
protected $attachmentHelper;
|
||||
protected $pathResolver;
|
||||
protected AttachmentReverseSearch $attachmentReverseSearch;
|
||||
protected AttachmentManager $attachmentHelper;
|
||||
protected AttachmentPathResolver $pathResolver;
|
||||
|
||||
public function __construct(AttachmentReverseSearch $attachmentReverseSearch, AttachmentManager $attachmentHelper, AttachmentPathResolver $pathResolver)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ use Symfony\Contracts\Cache\TagAwareCacheInterface;
|
|||
|
||||
class TreeCacheInvalidationListener
|
||||
{
|
||||
protected $cache;
|
||||
protected $keyGenerator;
|
||||
protected TagAwareCacheInterface $cache;
|
||||
protected UserCacheKeyGenerator $keyGenerator;
|
||||
|
||||
public function __construct(TagAwareCacheInterface $treeCache, UserCacheKeyGenerator $keyGenerator)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue