mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
feat: Add PHP 8.4 support
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
35b33f0a72
commit
8a6c8cd17c
4 changed files with 7 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ class InvalidRequestException extends Exception {
|
|||
*/
|
||||
protected $path;
|
||||
|
||||
public function __construct(string $path = "", int $code = 0, \Throwable $previous = null) {
|
||||
public function __construct(string $path = "", int $code = 0, ?\Throwable $previous = null) {
|
||||
$class = get_class($this);
|
||||
$parts = explode('\\', $class);
|
||||
$baseName = array_pop($parts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue