diff --git a/src/CustomReport/Repository/CustomReportRepository.php b/src/CustomReport/Repository/CustomReportRepository.php index a4c8b5d3..13b5d075 100644 --- a/src/CustomReport/Repository/CustomReportRepository.php +++ b/src/CustomReport/Repository/CustomReportRepository.php @@ -31,9 +31,11 @@ public function __construct( ) { } - public function loadForUser(User $user): array { + public function loadForUser(User $user): array + { /** @var Dao $dao */ $dao = (new Listing())->getDao(); + return $dao->loadForGivenUser( $user );