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

@ -39,7 +39,11 @@ class Transcript extends BaseMedia
{
parent::setFile($file);
$metadata = lstat((string) $file) ?? [];
$metadata = lstat((string) $file);
if (! $metadata) {
$metadata = [];
}
helper('filesystem');