From 78f00f800c9331b27bf0dffa49dc303058fb9064 Mon Sep 17 00:00:00 2001 From: Maxence Lange <maxence@artificial-owl.com> Date: Fri, 13 Dec 2019 09:17:08 -0100 Subject: [PATCH] nullable params Signed-off-by: Maxence Lange <maxence@artificial-owl.com> --- lib/public/Lock/ManuallyLockedException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/Lock/ManuallyLockedException.php b/lib/public/Lock/ManuallyLockedException.php index 71d9a7282ab..04b4152c3a0 100644 --- a/lib/public/Lock/ManuallyLockedException.php +++ b/lib/public/Lock/ManuallyLockedException.php @@ -65,7 +65,7 @@ class ManuallyLockedException extends LockedException { * * @since 18.0.0 */ - public function __construct(string $path, \Exception $previous = null, string $existingLock = null, string $owner = null, int $timeout = -1) { + public function __construct(string $path, \Exception $previous = null, ?string $existingLock = null, ?string $owner = null, int $timeout = -1) { parent::__construct($path, $previous, $existingLock); $this->owner = $owner; $this->timeout = $timeout; -- GitLab