diff --git a/composer.json b/composer.json index 0a24bde..ec64933 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ ], "require": { "php": "^8.1", - "creagia/redsys-php": "dev-main", + "creagia/redsys-php": "^3.0", "illuminate/contracts": "^8.73|^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.9.2" }, diff --git a/src/Actions/HandleRedsysResponse.php b/src/Actions/HandleRedsysResponse.php index 9a96484..2721560 100644 --- a/src/Actions/HandleRedsysResponse.php +++ b/src/Actions/HandleRedsysResponse.php @@ -19,7 +19,7 @@ class HandleRedsysResponse public function __invoke( ?Request $request, RedsysResponse|PostRequestError $response, - ) { + ): void { $redsysNotificationLog = RedsysNotificationLog::create([ 'merchant_parameters' => $response instanceof PostRequestError ? $response->responseParameters