summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-12-13 09:17:08 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-12-13 09:17:08 -0100
commit78f00f800c9331b27bf0dffa49dc303058fb9064 (patch)
tree2d6eb2e3be4591e84701f7255efde52d692cb850 /lib
parent9bdc5823cea1e0bbb77496a89eacb8587e0847e4 (diff)
downloadnextcloud-server-78f00f800c9331b27bf0dffa49dc303058fb9064.tar.gz
nextcloud-server-78f00f800c9331b27bf0dffa49dc303058fb9064.zip
nullable params
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Lock/ManuallyLockedException.php2
1 files changed, 1 insertions, 1 deletions
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;