From 67934d02c53197af26191359247d139308e5cf5a Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 2 Apr 2024 09:20:26 -0700 Subject: [PATCH] Run new php-cs-fixer against code --- src/Exception/HttpException.php | 2 +- src/Exception/InvalidRequestException.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exception/HttpException.php b/src/Exception/HttpException.php index f56923e2..ef6aaf3b 100644 --- a/src/Exception/HttpException.php +++ b/src/Exception/HttpException.php @@ -18,7 +18,7 @@ public function __construct( string $message, int $httpStatus, string $uri, - \Exception $previous = null + ?\Exception $previous = null ) { $this->uri = $uri; parent::__construct($message, $httpStatus, $previous); diff --git a/src/Exception/InvalidRequestException.php b/src/Exception/InvalidRequestException.php index 5a58ff95..e1a1fbfe 100644 --- a/src/Exception/InvalidRequestException.php +++ b/src/Exception/InvalidRequestException.php @@ -20,7 +20,7 @@ public function __construct( string $error, int $httpStatus, string $uri, - \Exception $previous = null + ?\Exception $previous = null ) { $this->error = $error; parent::__construct($message, $httpStatus, $uri, $previous);