diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-10 08:52:13 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-09-10 08:52:13 +0200 |
commit | 72a7fe81854f5a76208e76ebcc127912283f94cd (patch) | |
tree | 91e770479469bdb7edd534932085222480496e3c /apps/workflowengine/lib | |
parent | d36365413210fc3adfd1214b174e68d8a340ee96 (diff) | |
download | nextcloud-server-72a7fe81854f5a76208e76ebcc127912283f94cd.tar.gz nextcloud-server-72a7fe81854f5a76208e76ebcc127912283f94cd.zip |
Fix type hinting on setFileInfo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r-- | apps/workflowengine/lib/Check/FileMimeType.php | 2 | ||||
-rw-r--r-- | apps/workflowengine/lib/Check/TFileCheck.php | 2 |
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; } |