Update AbstractRepository.php