diff --git a/src/ProcessRequestForwarder.php b/src/ProcessRequestForwarder.php index dacdd4c..d980330 100644 --- a/src/ProcessRequestForwarder.php +++ b/src/ProcessRequestForwarder.php @@ -16,9 +16,9 @@ class ProcessRequestForwarder implements ShouldQueue * Create a new job instance. */ public function __construct( - public readonly string $url, - public readonly array $params, - public readonly ?string $webhookName = null, + public string $url, + public array $params, + public ?string $webhookName = null, ) { } diff --git a/src/Providers/DefaultProvider.php b/src/Providers/DefaultProvider.php index 1622fb2..fa0b882 100644 --- a/src/Providers/DefaultProvider.php +++ b/src/Providers/DefaultProvider.php @@ -8,7 +8,7 @@ class DefaultProvider implements ProviderInterface { public function __construct( - private readonly Factory $client, + private Factory $client, ) { } diff --git a/src/Providers/Discord.php b/src/Providers/Discord.php index 869505a..f069faa 100644 --- a/src/Providers/Discord.php +++ b/src/Providers/Discord.php @@ -8,7 +8,7 @@ class Discord implements ProviderInterface { public function __construct( - private readonly Factory $client, + private Factory $client, ) { } diff --git a/src/RequestForwarder.php b/src/RequestForwarder.php index 2f534ba..bed4189 100755 --- a/src/RequestForwarder.php +++ b/src/RequestForwarder.php @@ -11,8 +11,8 @@ class RequestForwarder { public function __construct( - private readonly Factory $client, - private readonly array $webhooks, + private Factory $client, + private array $webhooks, ) { } diff --git a/src/RequestForwarderMiddleware.php b/src/RequestForwarderMiddleware.php index 09b5deb..419def0 100644 --- a/src/RequestForwarderMiddleware.php +++ b/src/RequestForwarderMiddleware.php @@ -9,7 +9,7 @@ class RequestForwarderMiddleware { public function __construct( - public readonly RequestForwarder $requestForwarder, + public RequestForwarder $requestForwarder, ) { }