mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-08 17:26:43 +02:00
refactor: add phpstan and update code to adhere to level 5
- move and refactor Image.php from Libraries to Entities folder - update some database field names / types - update composer packages
This commit is contained in:
parent
b691b927fe
commit
231d578d64
148 changed files with 11189 additions and 11421 deletions
|
|
@ -14,6 +14,7 @@ use CodeIgniter\HTTP\ResponseInterface;
|
|||
use Psr\Log\LoggerInterface;
|
||||
use Config\Services;
|
||||
use CodeIgniter\Controller;
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
|
||||
class EpisodeAnalyticsController extends Controller
|
||||
{
|
||||
|
|
@ -54,9 +55,10 @@ class EpisodeAnalyticsController extends Controller
|
|||
$this->config = config('Analytics');
|
||||
}
|
||||
|
||||
// Add one hit to this episode:
|
||||
public function hit($base64EpisodeData, ...$audioFilePath)
|
||||
{
|
||||
public function hit(
|
||||
string $base64EpisodeData,
|
||||
string ...$audioFilePath
|
||||
): RedirectResponse {
|
||||
$session = Services::session();
|
||||
$session->start();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue