refactor: add modules folder to phpstan paths + fix errors

This commit is contained in:
Yassine Doghri 2024-04-28 16:39:01 +00:00
commit bb628f355f
166 changed files with 452 additions and 526 deletions

View file

@ -48,7 +48,7 @@ class MediaModel extends Model
protected $createdField = 'uploaded_at';
/**
* @var string[]
* @var list<string>
*/
protected $allowedFields = [
'id',
@ -66,12 +66,12 @@ class MediaModel extends Model
/**
* clear cache before update if by any chance, the podcast name changes, so will the podcast link
*
* @var string[]
* @var list<string>
*/
protected $beforeUpdate = ['clearCache'];
/**
* @var string[]
* @var list<string>
*/
protected $beforeDelete = ['clearCache'];