mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +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
|
|
@ -15,12 +15,11 @@ use App\Models\EpisodeModel;
|
|||
use CodeIgniter\Controller;
|
||||
use CodeIgniter\Exceptions\PageNotFoundException;
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
use Deprecated;
|
||||
|
||||
class EpisodeAnalyticsController extends Controller
|
||||
{
|
||||
/**
|
||||
* @deprecated Replaced by EpisodeAudioController::index method
|
||||
*/
|
||||
#[Deprecated(message: 'Replaced by EpisodeAudioController::index method')]
|
||||
public function hit(string $base64EpisodeData, string ...$audioPath): RedirectResponse
|
||||
{
|
||||
$episodeData = unpack(
|
||||
|
|
@ -32,7 +31,8 @@ class EpisodeAnalyticsController extends Controller
|
|||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
$episode = (new EpisodeModel())->getEpisodeById($episodeData['episodeId']);
|
||||
$episode = new EpisodeModel()
|
||||
->getEpisodeById($episodeData['episodeId']);
|
||||
|
||||
if (! $episode instanceof Episode) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue