From c3c55073b4768cdd4f14751d374185c47db5b444 Mon Sep 17 00:00:00 2001 From: spiralbot Date: Fri, 6 Sep 2024 09:02:58 +0000 Subject: [PATCH] Apply php8.0 in Rector preset (#1139) --- src/Declaration/FilterDeclaration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Declaration/FilterDeclaration.php b/src/Declaration/FilterDeclaration.php index acdd1da..d9a2915 100644 --- a/src/Declaration/FilterDeclaration.php +++ b/src/Declaration/FilterDeclaration.php @@ -33,7 +33,7 @@ public function __construct( try { $this->validationConfig = $container->get(ValidationConfig::class); - } catch (\Throwable $e) { + } catch (\Throwable) { // Validation is not configured $this->validationConfig = null; }