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
|
|
@ -36,7 +36,7 @@ class PodcastImportController extends BaseController
|
|||
|
||||
public function podcastList(int $podcastId): string
|
||||
{
|
||||
if (! ($podcast = (new PodcastModel())->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
if (! ($podcast = new PodcastModel()->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
|
|
@ -56,8 +56,10 @@ class PodcastImportController extends BaseController
|
|||
{
|
||||
helper(['form', 'misc']);
|
||||
|
||||
$languageOptions = (new LanguageModel())->getLanguageOptions();
|
||||
$categoryOptions = (new CategoryModel())->getCategoryOptions();
|
||||
$languageOptions = new LanguageModel()
|
||||
->getLanguageOptions();
|
||||
$categoryOptions = new CategoryModel()
|
||||
->getCategoryOptions();
|
||||
|
||||
$data = [
|
||||
'languageOptions' => $languageOptions,
|
||||
|
|
@ -109,7 +111,7 @@ class PodcastImportController extends BaseController
|
|||
|
||||
public function syncImport(int $podcastId): string
|
||||
{
|
||||
if (! ($podcast = (new PodcastModel())->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
if (! ($podcast = new PodcastModel()->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
|
|
@ -126,7 +128,7 @@ class PodcastImportController extends BaseController
|
|||
|
||||
public function syncImportAttempt(int $podcastId): RedirectResponse
|
||||
{
|
||||
if (! ($podcast = (new PodcastModel())->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
if (! ($podcast = new PodcastModel()->getPodcastById($podcastId)) instanceof Podcast) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue