Add "?" to nullable parameters in functions

This commit is contained in:
Matthias Kühne 2025-05-02 13:38:01 +02:00
commit 42627c6bb8
No known key found for this signature in database
GPG key ID: F3D2B51D6501F439
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ namespace Icewind\SMB\Exception;
use Throwable;
class RevisionMismatchException extends Exception {
public function __construct(string $message = 'Protocol version mismatch', int $code = 0, Throwable $previous = null) {
public function __construct(string $message = 'Protocol version mismatch', int $code = 0, ?Throwable $previous = null) {
parent::__construct($message, $code, $previous);
}
}
}