Fix warning in PHP 8.0

This commit is contained in:
Kijin Sung 2021-07-01 15:16:12 +09:00
parent 21e99aa7a2
commit ef2cdb56b0

View file

@ -123,6 +123,10 @@ class FrontEndFileHandler extends Handler
$source_hint = $args[2];
$args[2] = '';
}
else
{
$source_hint = '';
}
$file = $this->getFileInfo($args[0], $args[2] ?? '', $args[1] ?? 'all', $args[4] ?? [], $isCommon);
$file->index = (int)($args[3] ?? 0);