aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/OwnCloudFunctionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/OwnCloudFunctionsTest.php')
-rw-r--r--apps/files_external/tests/OwnCloudFunctionsTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/tests/OwnCloudFunctionsTest.php b/apps/files_external/tests/OwnCloudFunctionsTest.php
index 3488195d3e8..2890cad3ac1 100644
--- a/apps/files_external/tests/OwnCloudFunctionsTest.php
+++ b/apps/files_external/tests/OwnCloudFunctionsTest.php
@@ -1,4 +1,6 @@
<?php
+
+declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
@@ -16,7 +18,7 @@ use OCA\Files_External\Lib\Storage\OwnCloud;
* @package OCA\Files_External\Tests
*/
class OwnCloudFunctionsTest extends \Test\TestCase {
- public function configUrlProvider() {
+ public static function configUrlProvider(): array {
return [
[
[
@@ -88,7 +90,7 @@ class OwnCloudFunctionsTest extends \Test\TestCase {
/**
* @dataProvider configUrlProvider
*/
- public function testConfig($config, $expectedUri): void {
+ public function testConfig(array $config, string $expectedUri): void {
$config['user'] = 'someuser';
$config['password'] = 'somepassword';
$instance = new OwnCloud($config);