mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 04:57:46 +02:00
feat: set min PHP version to 8.4
update CI4 to 4.6.0 + use codeigniter-vite and vite-plugin-codeigniter to load assets
This commit is contained in:
parent
0e4e301b81
commit
94cea0ce91
397 changed files with 4693 additions and 4302 deletions
|
|
@ -81,8 +81,8 @@ class MediaModel extends Model
|
|||
*/
|
||||
public function __construct(
|
||||
protected string $fileType = 'document',
|
||||
ConnectionInterface &$db = null,
|
||||
ValidationInterface $validation = null
|
||||
?ConnectionInterface &$db = null,
|
||||
?ValidationInterface $validation = null,
|
||||
) {
|
||||
$this->returnType = match ($fileType) {
|
||||
'audio' => Audio::class,
|
||||
|
|
@ -90,7 +90,7 @@ class MediaModel extends Model
|
|||
'image' => Image::class,
|
||||
'transcript' => Transcript::class,
|
||||
'chapters' => Chapters::class,
|
||||
default => Document::class
|
||||
default => Document::class,
|
||||
};
|
||||
|
||||
parent::__construct($db, $validation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue