Skip to content
Snippets Groups Projects
Commit eed1c0fc authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction type dans SourceListener

parent fe9305e2
No related branches found
No related tags found
No related merge requests found
Pipeline #15204 passed
...@@ -76,7 +76,7 @@ class SourceListener implements EventSubscriber ...@@ -76,7 +76,7 @@ class SourceListener implements EventSubscriber
* @param EntityManager $entityManager * @param EntityManager $entityManager
* @return Source * @return Source
*/ */
private function fetchDefaultSource(EntityManager $entityManager): Source private function fetchDefaultSource(EntityManager $entityManager)
{ {
if ($this->sourceEntityClass === null) { if ($this->sourceEntityClass === null) {
throw new RuntimeException("La classe d'entité Source n'a pas été spécifiée"); throw new RuntimeException("La classe d'entité Source n'a pas été spécifiée");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment