Removed superfluous exception code by using named args

This commit is contained in:
Alejandro Celaya 2023-01-02 13:47:16 +01:00
parent 6d5bce0078
commit 92c80e7833

View file

@ -15,7 +15,7 @@ class GeolocationDbUpdateFailedException extends RuntimeException implements Exc
private function __construct(string $message, ?Throwable $previous = null) 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 public static function withOlderDb(?Throwable $prev = null): self