summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/workflowengine/lib/Check/FileMimeType.php2
-rw-r--r--apps/workflowengine/lib/Check/TFileCheck.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php
index 92375d4d3cd..5bebaf9fc01 100644
--- a/apps/workflowengine/lib/Check/FileMimeType.php
+++ b/apps/workflowengine/lib/Check/FileMimeType.php
@@ -58,7 +58,7 @@ class FileMimeType extends AbstractStringCheck implements IFileCheck {
* @param IStorage $storage
* @param string $path
*/
- public function setFileInfo(IStorage $storage, $path) {
+ public function setFileInfo(IStorage $storage, string $path) {
$this->_setFileInfo($storage, $path);
if (!isset($this->mimeType[$this->storage->getId()][$this->path])
|| $this->mimeType[$this->storage->getId()][$this->path] === '') {
diff --git a/apps/workflowengine/lib/Check/TFileCheck.php b/apps/workflowengine/lib/Check/TFileCheck.php
index 44a39aadfde..383c2d4ef5f 100644
--- a/apps/workflowengine/lib/Check/TFileCheck.php
+++ b/apps/workflowengine/lib/Check/TFileCheck.php
@@ -42,7 +42,7 @@ trait TFileCheck {
* @param string $path
* @since 18.0.0
*/
- public function setFileInfo(IStorage $storage, $path) {
+ public function setFileInfo(IStorage $storage, string $path) {
$this->storage = $storage;
$this->path = $path;
}