mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 12:07:46 +02:00
chore(phpstan): remove redundant dynamicConstantNames
+ update quality tools
This commit is contained in:
parent
cc19c24668
commit
2dd9cc9ef5
18 changed files with 110 additions and 110 deletions
|
|
@ -50,7 +50,7 @@ class EpisodeController extends BaseController
|
|||
'id' => $params[1],
|
||||
'podcast_id' => $params[0],
|
||||
])
|
||||
->first())
|
||||
->first()) instanceof Episode
|
||||
) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ class EpisodeController extends BaseController
|
|||
'slug' => $validData['slug'],
|
||||
'podcast_id' => $this->podcast->id,
|
||||
])
|
||||
->first()) {
|
||||
->first() instanceof Episode) {
|
||||
return redirect()
|
||||
->back()
|
||||
->withInput()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue