From: Raphaƫl Gertz Date: Wed, 11 Dec 2019 04:17:48 +0000 (+0100) Subject: Fix naming X-Git-Tag: 0.1.1~46 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/f201fefc56d4ed8ba2257f7aed1b5cf4ae91b268?ds=sidebyside Fix naming --- diff --git a/Repository/SessionRepository.php b/Repository/SessionRepository.php index e295bfd..9ffaf02 100644 --- a/Repository/SessionRepository.php +++ b/Repository/SessionRepository.php @@ -31,7 +31,7 @@ class SessionRepository extends \Doctrine\ORM\EntityRepository { * * @param $period The date period */ - public function findByDatePeriod($period) { + public function findAllByDatePeriod($period) { //Fetch sessions $ret = $this->getEntityManager() ->createQuery('SELECT s FROM RapsysAirBundle:Session s WHERE s.date BETWEEN :begin AND :end')