More type fixes

This commit is contained in:
Alex Cabal 2025-02-26 14:32:04 -06:00
parent 94d674ef96
commit a5a19f947f
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ namespace Exceptions;
class WebhookException extends AppException{
public ?string $PostData;
public function __construct(string $message = '', string $data = null){
public function __construct(string $message = '', ?string $data = null){
$this->PostData = $data;
parent::__construct($message);
}