Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/BackgroundJob/Legacy/QueuedJob.php')
-rw-r--r--lib/private/BackgroundJob/Legacy/QueuedJob.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/BackgroundJob/Legacy/QueuedJob.php b/lib/private/BackgroundJob/Legacy/QueuedJob.php
index ba81041c9de..64c9972ae01 100644
--- a/lib/private/BackgroundJob/Legacy/QueuedJob.php
+++ b/lib/private/BackgroundJob/Legacy/QueuedJob.php
@@ -28,8 +28,8 @@ class QueuedJob extends \OC\BackgroundJob\QueuedJob {
$class = $argument['klass'];
$method = $argument['method'];
$parameters = $argument['parameters'];
- if (is_callable(array($class, $method))) {
- call_user_func(array($class, $method), $parameters);
+ if (is_callable([$class, $method])) {
+ call_user_func([$class, $method], $parameters);
}
}
}