mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +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
|
|
@ -65,7 +65,7 @@ class EpisodeAudioController extends Controller
|
|||
}
|
||||
|
||||
if (
|
||||
! ($podcast = (new PodcastModel())->getPodcastByHandle($params[0])) instanceof Podcast
|
||||
! ($podcast = new PodcastModel()->getPodcastByHandle($params[0])) instanceof Podcast
|
||||
) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
|
@ -73,7 +73,7 @@ class EpisodeAudioController extends Controller
|
|||
$this->podcast = $podcast;
|
||||
|
||||
if (
|
||||
! ($episode = (new EpisodeModel())->getEpisodeBySlug($params[0], $params[1])) instanceof Episode
|
||||
! ($episode = new EpisodeModel()->getEpisodeBySlug($params[0], $params[1])) instanceof Episode
|
||||
) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
|
@ -108,7 +108,7 @@ class EpisodeAudioController extends Controller
|
|||
}
|
||||
|
||||
// check if there's a valid subscription for the provided token
|
||||
if (! ($subscription = (new SubscriptionModel())->validateSubscription(
|
||||
if (! ($subscription = new SubscriptionModel()->validateSubscription(
|
||||
$this->episode->podcast->handle,
|
||||
$token,
|
||||
)) instanceof Subscription) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue