diff --git a/lib/public/TaskProcessing/FileShaped.php b/lib/public/TaskProcessing/FileShaped.php index 51b28778d48..a6e3d08b189 100644 --- a/lib/public/TaskProcessing/FileShaped.php +++ b/lib/public/TaskProcessing/FileShaped.php @@ -56,7 +56,7 @@ class FileShaped { if ($ext === '') { return ''; } - $ext = str_replace(array('.', '/'), '', $ext); + $ext = str_replace(['.', '/'], '', $ext); return $ext; } } diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index e264e5f39e7..674e12f2705 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -627,7 +627,7 @@ class ExternalTriggerableProvider implements ITriggerableProvider { #[\Override] public function getOptionalOutputShape(): array { return []; - }Supercloud? + } #[\Override] public function getInputShapeEnumValues(): array { return [];