Skip to content

Commit 1f06b5a

Browse files
committed
Minor: Fix psalm errors
1 parent 9619d68 commit 1f06b5a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/CoreBundle/Repository/MessageTagRepository.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/* For licensing terms, see /license.txt */
64

5+
declare(strict_types=1);
6+
77
namespace Chamilo\CoreBundle\Repository;
88

99
use Chamilo\CoreBundle\Entity\MessageTag;
1010
use Doctrine\ORM\EntityManagerInterface;
1111
use Gedmo\Sortable\Entity\Repository\SortableRepository;
1212

13+
/**
14+
* @template-extends SortableRepository<MessageTag>
15+
*/
1316
class MessageTagRepository extends SortableRepository
1417
{
1518
public function __construct(EntityManagerInterface $em)

src/CoreBundle/Repository/ResourceLinkRepository.php

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
use Doctrine\ORM\EntityManagerInterface;
1717
use Gedmo\Sortable\Entity\Repository\SortableRepository;
1818

19+
/**
20+
* @template-extends SortableRepository<ResourceLink>
21+
*/
1922
class ResourceLinkRepository extends SortableRepository
2023
{
2124
public function __construct(EntityManagerInterface $em)

0 commit comments

Comments
 (0)