chore: update CI to v4.6.3 + all php and js dependencies

This commit is contained in:
Yassine Doghri 2025-08-25 18:09:41 +00:00
commit 346c00e7b5
206 changed files with 6239 additions and 5336 deletions

View file

@ -32,7 +32,7 @@ class SubscriptionController extends BaseController
throw PageNotFoundException::forPageNotFound();
}
if (! ($podcast = (new PodcastModel())->getPodcastById((int) $params[0])) instanceof Podcast) {
if (! ($podcast = new PodcastModel()->getPodcastById((int) $params[0])) instanceof Podcast) {
throw PageNotFoundException::forPageNotFound();
}
@ -42,7 +42,7 @@ class SubscriptionController extends BaseController
return $this->{$method}();
}
if (! ($this->subscription = (new SubscriptionModel())->getSubscriptionById(
if (! ($this->subscription = new SubscriptionModel()->getSubscriptionById(
(int) $params[1],
)) instanceof Subscription) {
throw PageNotFoundException::forPageNotFound();
@ -431,7 +431,8 @@ class SubscriptionController extends BaseController
$db = db_connect();
$db->transStart();
(new SubscriptionModel())->delete($this->subscription->id);
new SubscriptionModel()
->delete($this->subscription->id);
/** @var Email $email */
$email = service('email');