Automated formatting changes (NO_CI)

This commit is contained in:
Formatter Bot 2023-09-24 18:31:35 +00:00
parent 91c4a097aa
commit a27022e0a1
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ class UploadFile
return $result; return $result;
} }
if (!empty($this->allowedTypes) && !in_array($f['type'], $this->allowedTypes, true)) { if (!empty($this->allowedTypes) && !\in_array($f['type'], $this->allowedTypes, true)) {
$result[$key]['status'] = UploadStatus::WRONG_EXTENSION; $result[$key]['status'] = UploadStatus::WRONG_EXTENSION;
return $result; return $result;

View File

@ -64,7 +64,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$account = new Account(); $account = new Account();
TestUtils::setMember($account, 'id', 1); TestUtils::setMember($account, 'id', 1);
$permission = new AccountPermission(); $permission = new AccountPermission();
$permission->unit = 1; $permission->unit = 1;
$permission->app = 1; $permission->app = 1;
$permission->setPermission( $permission->setPermission(