mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 20:17:46 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -105,7 +105,8 @@ class Subscription extends Entity
|
|||
}
|
||||
|
||||
if (! $this->podcast instanceof Podcast) {
|
||||
$this->podcast = (new PodcastModel())->getPodcastById($this->podcast_id);
|
||||
$this->podcast = new PodcastModel()
|
||||
->getPodcastById($this->podcast_id);
|
||||
}
|
||||
|
||||
return $this->podcast;
|
||||
|
|
@ -113,9 +114,7 @@ class Subscription extends Entity
|
|||
|
||||
public function getDownloadsLast3Months(): int
|
||||
{
|
||||
return (new AnalyticsPodcastBySubscriptionModel())->getNumberOfDownloadsLast3Months(
|
||||
$this->podcast_id,
|
||||
$this->id,
|
||||
);
|
||||
return new AnalyticsPodcastBySubscriptionModel()
|
||||
->getNumberOfDownloadsLast3Months($this->podcast_id, $this->id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue