Rename functions

[MAILPOET-2439]
This commit is contained in:
Pavel Dohnal
2019-10-30 12:35:58 +01:00
committed by Jack Kitterhing
parent 0b88eccc91
commit cf08200c5d
3 changed files with 4 additions and 11 deletions

View File

@ -31,7 +31,7 @@ class StatsNotificationsRepository extends Repository {
* @param int|null $limit
* @return StatsNotificationEntity[]
*/
public function findDueTasks($limit = null) {
public function findScheduled($limit = null) {
$date = new Carbon();
$query = $this->doctrine_repository
->createQueryBuilder('stn')
@ -57,7 +57,7 @@ class StatsNotificationsRepository extends Repository {
/**
* @return NewsletterEntity[]
*/
public function getDueAutomatedNewsletters() {
public function findScheduledAutomatedNewsletters() {
return $this->entity_manager
->createQueryBuilder()
->select('n')