From 92c80e7833596ba22c67d7ac69facec4b4eb4bcb Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 2 Jan 2023 13:47:16 +0100 Subject: [PATCH] Removed superfluous exception code by using named args --- module/CLI/src/Exception/GeolocationDbUpdateFailedException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/CLI/src/Exception/GeolocationDbUpdateFailedException.php b/module/CLI/src/Exception/GeolocationDbUpdateFailedException.php index cbb8affd..ceb5cbfd 100644 --- a/module/CLI/src/Exception/GeolocationDbUpdateFailedException.php +++ b/module/CLI/src/Exception/GeolocationDbUpdateFailedException.php @@ -15,7 +15,7 @@ class GeolocationDbUpdateFailedException extends RuntimeException implements Exc private function __construct(string $message, ?Throwable $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, previous: $previous); } public static function withOlderDb(?Throwable $prev = null): self