diff options
author | provokateurin <kate@provokateurin.de> | 2024-10-01 16:13:51 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-10-07 15:00:07 +0200 |
commit | 3a9aadc6a9c52f841330b885c040e6514e52bfea (patch) | |
tree | b7a2db6fd0f386abfec8392e7f29c67bf5f53219 /apps | |
parent | f28e74b7a8b3df11ba1f2e4a18492b8158528cdf (diff) | |
download | nextcloud-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')
-rw-r--r-- | apps/workflowengine/tests/Check/FileMimeTypeTest.php | 6 |
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); } } } |