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:
authorMaxence Lange <maxence@artificial-owl.com>2019-12-13 13:17:08 +0300
committerMaxence Lange <maxence@artificial-owl.com>2019-12-13 13:17:08 +0300
commit78f00f800c9331b27bf0dffa49dc303058fb9064 (patch)
tree2d6eb2e3be4591e84701f7255efde52d692cb850 /lib/public/Lock
parent9bdc5823cea1e0bbb77496a89eacb8587e0847e4 (diff)
nullable params
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/Lock')
-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;