diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-09-19 15:19:04 +0200 |
---|---|---|
committer | Daniel <mail@danielkesselberg.de> | 2023-09-22 17:16:20 +0200 |
commit | 97a024f03598d6d6bfc26a860f4a3d5e2803b779 (patch) | |
tree | c6e315ad4373cc00200ce37c017fbc52095e20d3 /lib/private/Command/ClosureJob.php | |
parent | 7fecdf61299e7213fd857e7d89ce9b33db05c47b (diff) | |
download | nextcloud-server-97a024f03598d6d6bfc26a860f4a3d5e2803b779.tar.gz nextcloud-server-97a024f03598d6d6bfc26a860f4a3d5e2803b779.zip |
chore(3rdparty): remove opis/closure
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Command/ClosureJob.php')
-rw-r--r-- | lib/private/Command/ClosureJob.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Command/ClosureJob.php b/lib/private/Command/ClosureJob.php index 5639852e4db..180c5a33ec5 100644 --- a/lib/private/Command/ClosureJob.php +++ b/lib/private/Command/ClosureJob.php @@ -24,11 +24,10 @@ namespace OC\Command; use OC\BackgroundJob\QueuedJob; use Laravel\SerializableClosure\SerializableClosure as LaravelClosure; -use Opis\Closure\SerializableClosure as OpisClosure; class ClosureJob extends QueuedJob { protected function run($serializedCallable) { - $callable = unserialize($serializedCallable, [LaravelClosure::class, OpisClosure::class]); + $callable = unserialize($serializedCallable, [LaravelClosure::class]); $callable = $callable->getClosure(); if (is_callable($callable)) { $callable(); |