Fixes and upgrades - Fix deprecated stuff.

This commit is contained in:
2025-06-02 22:03:26 +02:00
parent 25ff16a9db
commit 280179ca7e
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class ApiErrorException extends HttpException
private ApiErrorMessage $apiErrorMsg;
public function __construct(ApiErrorMessage $apiErrorMsg, $detailsData = null, \Exception $previous = null, array $headers = array(), $code = 0)
public function __construct(ApiErrorMessage $apiErrorMsg, $detailsData = null, ?\Exception $previous = null, array $headers = array(), $code = 0)
{
$this->apiErrorMsg = $apiErrorMsg;