aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command/ClosureJob.php
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2023-09-30 22:46:32 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2023-09-30 22:46:32 +0200
commit19ec0ee81b6e7162128f4ffcf039ded25e05406d (patch)
tree190fc36307273dec841bbccaac02b8de4d0aa252 /lib/private/Command/ClosureJob.php
parentd215d8091699b39763c6c5d23b5125b7734c19f7 (diff)
downloadnextcloud-server-19ec0ee81b6e7162128f4ffcf039ded25e05406d.tar.gz
nextcloud-server-19ec0ee81b6e7162128f4ffcf039ded25e05406d.zip
chore: rename serializedClosure to argument to align with parent class
To make psalm happy ;) Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Command/ClosureJob.php')
-rw-r--r--lib/private/Command/ClosureJob.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Command/ClosureJob.php b/lib/private/Command/ClosureJob.php
index 180c5a33ec5..7216bcc762a 100644
--- a/lib/private/Command/ClosureJob.php
+++ b/lib/private/Command/ClosureJob.php
@@ -26,8 +26,8 @@ use OC\BackgroundJob\QueuedJob;
use Laravel\SerializableClosure\SerializableClosure as LaravelClosure;
class ClosureJob extends QueuedJob {
- protected function run($serializedCallable) {
- $callable = unserialize($serializedCallable, [LaravelClosure::class]);
+ protected function run($argument) {
+ $callable = unserialize($argument, [LaravelClosure::class]);
$callable = $callable->getClosure();
if (is_callable($callable)) {
$callable();