Skip to content

Commit ad4c7f1

Browse files
committed
resovle
1 parent 696f6fd commit ad4c7f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/core/src/Foundation/AbstractValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ public function addConfiguration($callable)
5555
* @param Factory $validator
5656
* @param TranslatorInterface $translator
5757
*/
58-
public function __construct(Factory $validator, TranslatorInterface $translator, Cache $cache)
58+
public function __construct(Factory $validator, TranslatorInterface $translator)
5959
{
6060
$this->validator = $validator;
6161
$this->translator = $translator;
62-
$this->cache = $cache;
62+
$this->cache = resolve(Cache::class);
6363
}
6464

6565
/**

0 commit comments

Comments
 (0)