aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-01 16:13:51 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-07 15:00:07 +0200
commit3a9aadc6a9c52f841330b885c040e6514e52bfea (patch)
treeb7a2db6fd0f386abfec8392e7f29c67bf5f53219 /apps/workflowengine
parentf28e74b7a8b3df11ba1f2e4a18492b8158528cdf (diff)
downloadnextcloud-server-3a9aadc6a9c52f841330b885c040e6514e52bfea.tar.gz
nextcloud-server-3a9aadc6a9c52f841330b885c040e6514e52bfea.zip
test(workflowengine): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/tests/Check/FileMimeTypeTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/tests/Check/FileMimeTypeTest.php b/apps/workflowengine/tests/Check/FileMimeTypeTest.php
index 0911a47f894..55aea3db172 100644
--- a/apps/workflowengine/tests/Check/FileMimeTypeTest.php
+++ b/apps/workflowengine/tests/Check/FileMimeTypeTest.php
@@ -16,11 +16,11 @@ use OCP\IRequest;
use Test\TestCase;
class TemporaryNoLocal extends Temporary {
- public function instanceOfStorage($className): bool {
- if ($className === '\OC\Files\Storage\Local') {
+ public function instanceOfStorage(string $class): bool {
+ if ($class === '\OC\Files\Storage\Local') {
return false;
} else {
- return parent::instanceOfStorage($className);
+ return parent::instanceOfStorage($class);
}
}
}