diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-12 11:19:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 11:19:55 +0100 |
commit | c6e51924c8615166c2533f83ecc6399d9cc56cbd (patch) | |
tree | 4628e29811b1b3b5831df2b18cafedbc2e7ee86b /lib/public/WorkflowEngine/IFileCheck.php | |
parent | 4f60609f83fde059e6f831c1b17b481e6604ce24 (diff) | |
parent | 4356c91ffd16f54a7bc67b7c62ef4f1110b29e9f (diff) | |
download | nextcloud-server-c6e51924c8615166c2533f83ecc6399d9cc56cbd.tar.gz nextcloud-server-c6e51924c8615166c2533f83ecc6399d9cc56cbd.zip |
Merge pull request #18236 from nextcloud/bugfix/noid/always-detect-mimetype-by-content-in-workflows
Allow to detect mimetype by content
Diffstat (limited to 'lib/public/WorkflowEngine/IFileCheck.php')
-rw-r--r-- | lib/public/WorkflowEngine/IFileCheck.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/public/WorkflowEngine/IFileCheck.php b/lib/public/WorkflowEngine/IFileCheck.php index 07626a0071d..546b72fa2dc 100644 --- a/lib/public/WorkflowEngine/IFileCheck.php +++ b/lib/public/WorkflowEngine/IFileCheck.php @@ -37,8 +37,11 @@ use OCP\Files\Storage\IStorage; */ interface IFileCheck extends IEntityCheck { /** + * @param IStorage $storage + * @param string $path + * @param bool $isDir * @since 18.0.0 */ - public function setFileInfo(IStorage $storage, string $path); + public function setFileInfo(IStorage $storage, string $path, bool $isDir = false): void; } |