Psalm InvalidDocblock #6592

Closed
opened 2026-01-22 15:35:27 +01:00 by admin · 1 comment
Owner

Originally created by @roukmoute on GitHub (Dec 17, 2020).

ERROR: InvalidDocblock - vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:74:5 - Badly-formatted @param in docblock for Doctrine\ORM\EntityRepository::__construct (see https://psalm.dev/008)
    /**
     * Initializes a new <tt>EntityRepository</tt>.
     *
     * @psalm-param Mapping\ClassMetadata<T>
     */
    public function __construct(EntityManagerInterface $em, Mapping\ClassMetadata $class)
Originally created by @roukmoute on GitHub (Dec 17, 2020). ```sh ERROR: InvalidDocblock - vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:74:5 - Badly-formatted @param in docblock for Doctrine\ORM\EntityRepository::__construct (see https://psalm.dev/008) /** * Initializes a new <tt>EntityRepository</tt>. * * @psalm-param Mapping\ClassMetadata<T> */ public function __construct(EntityManagerInterface $em, Mapping\ClassMetadata $class) ```
admin closed this issue 2026-01-22 15:35:27 +01:00
Author
Owner

@azjezz commented on GitHub (Dec 18, 2020):

I was just faced with the same issue, but it seems to be fixed in #8374

a fix will probably ship in 2.8.2.

I think this issue can be closed.

@azjezz commented on GitHub (Dec 18, 2020): I was just faced with the same issue, but it seems to be fixed in #8374 a fix will probably ship in 2.8.2. I think this issue can be closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6592