forked from mirror/Part-DB.Part-DB-server
Fixed PHPstan issues
This commit is contained in:
parent
d59b8817c3
commit
cd80552ce7
3 changed files with 8 additions and 5 deletions
|
@ -41,6 +41,7 @@ class AttachmentContainingDBElementRepository extends NamedDBElementRepository
|
|||
* Similar to the findByIDInMatchingOrder function, but it also hints to doctrine that the master picture attachment should be fetched eagerly.
|
||||
* @param array $ids
|
||||
* @return array
|
||||
* @phpstan-return array<int, TEntityClass>
|
||||
*/
|
||||
public function getElementsAndPreviewAttachmentByIDs(array $ids): array
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ use RecursiveIteratorIterator;
|
|||
/**
|
||||
* @see \App\Tests\Repository\StructuralDBElementRepositoryTest
|
||||
* @template TEntityClass of AbstractStructuralDBElement
|
||||
* @extends NamedDBElementRepository<TEntityClass>
|
||||
* @extends AttachmentContainingDBElementRepository<TEntityClass>
|
||||
*/
|
||||
class StructuralDBElementRepository extends AttachmentContainingDBElementRepository
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue