nullable params

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2019-12-13 09:17:08 -01:00
parent 9bdc5823ce
commit 78f00f800c
1 changed files with 1 additions and 1 deletions

View File

@ -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;