Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-10-31 10:05:58 +0300
committerGitHub <noreply@github.com>2019-10-31 10:05:58 +0300
commitd41b682566fa1e458f89fa1c0d183cbef4743398 (patch)
tree613f97006d6b56c9be7b90b331d411e72da9c5ad
parented8f3df9d7ad645559491f23b755140b0ed219de (diff)
parentfae637b9b49472c5c2bb670e7fd2ae5a7dbcbc7a (diff)
Merge pull request #17760 from nextcloud/fix/stable15/typehintmagic
[stable15] Fix to strict typehint in FileMimeType
-rw-r--r--apps/workflowengine/lib/Check/FileMimeType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php
index 220b516f5c0..8d07ea62fc9 100644
--- a/apps/workflowengine/lib/Check/FileMimeType.php
+++ b/apps/workflowengine/lib/Check/FileMimeType.php
@@ -83,7 +83,7 @@ class FileMimeType extends AbstractStringCheck {
* @param string $mimeType
* @return string
*/
- protected function cacheAndReturnMimeType(string $storageId, string $path, string $mimeType): string {
+ protected function cacheAndReturnMimeType(string $storageId, $path, string $mimeType): string {
if ($path !== null && $this->storage->file_exists($path)) {
$this->mimeType[$storageId][$path] = $mimeType;
}