php unit fixes

This commit is contained in:
Peter Papp
2021-07-22 17:39:01 +02:00
parent fffede1c10
commit 03fc533848
5 changed files with 133 additions and 166 deletions

View File

@@ -254,7 +254,7 @@ if (! function_exists('get_item')) {
*/
function get_item(string $type, string $id): Folder|File
{
$model = $type === 'Folder'
$model = $type === 'folder'
? 'folder'
: 'file';