From ad4c7f15f050d0cfbe001fae4d7cccb88fb88094 Mon Sep 17 00:00:00 2001 From: IanM Date: Tue, 19 Nov 2024 22:35:58 +0000 Subject: [PATCH] resovle --- framework/core/src/Foundation/AbstractValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Foundation/AbstractValidator.php b/framework/core/src/Foundation/AbstractValidator.php index 3d8b00a7da..d3b275e593 100644 --- a/framework/core/src/Foundation/AbstractValidator.php +++ b/framework/core/src/Foundation/AbstractValidator.php @@ -55,11 +55,11 @@ public function addConfiguration($callable) * @param Factory $validator * @param TranslatorInterface $translator */ - public function __construct(Factory $validator, TranslatorInterface $translator, Cache $cache) + public function __construct(Factory $validator, TranslatorInterface $translator) { $this->validator = $validator; $this->translator = $translator; - $this->cache = $cache; + $this->cache = resolve(Cache::class); } /**