Commit eed1c0fc authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction type dans SourceListener

parent fe9305e2
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ class SourceListener implements EventSubscriber
     * @param EntityManager $entityManager
     * @return Source
     */
    private function fetchDefaultSource(EntityManager $entityManager): Source
    private function fetchDefaultSource(EntityManager $entityManager)
    {
        if ($this->sourceEntityClass === null) {
            throw new RuntimeException("La classe d'entité Source n'a pas été spécifiée");