summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/FrontendDefinitionTraitTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/FrontendDefinitionTraitTest.php')
-rw-r--r--apps/files_external/tests/FrontendDefinitionTraitTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/FrontendDefinitionTraitTest.php b/apps/files_external/tests/FrontendDefinitionTraitTest.php
index 76a8ab326f0..e6a62991f36 100644
--- a/apps/files_external/tests/FrontendDefinitionTraitTest.php
+++ b/apps/files_external/tests/FrontendDefinitionTraitTest.php
@@ -101,10 +101,10 @@ class FrontendDefinitionTraitTest extends \Test\TestCase {
->willReturn('param');
$param->expects($this->once())
->method('validateValue')
- ->will($this->returnCallback(function(&$value) {
+ ->willReturnCallback(function(&$value) {
$value = 'foobar';
return true;
- }));
+ });
$storageConfig = $this->getMockBuilder(StorageConfig::class)
->disableOriginalConstructor()