make the mime type checker for flow available to regular users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-01-09 12:29:26 +01:00
parent 31c74e87c8
commit 4a0926f5de
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 4 additions and 0 deletions

View File

@ -154,4 +154,8 @@ class FileMimeType extends AbstractStringCheck implements IFileCheck {
public function supportedEntities(): array { public function supportedEntities(): array {
return [ File::class ]; return [ File::class ];
} }
public function isAvailableForScope(int $scope): bool {
return true;
}
} }