Skip to content

Commit 3491b75

Browse files
chore: debug
1 parent 696f6fd commit 3491b75

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

framework/core/src/Foundation/AbstractValidator.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,15 @@ public function addConfiguration($callable)
4646
*/
4747
protected $translator;
4848

49-
/**
50-
* @var Cache
51-
*/
52-
protected $cache;
53-
5449
/**
5550
* @param Factory $validator
5651
* @param TranslatorInterface $translator
5752
*/
58-
public function __construct(Factory $validator, TranslatorInterface $translator, Cache $cache)
53+
public function __construct(Factory $validator, TranslatorInterface $translator)
5954
{
6055
$this->validator = $validator;
6156
$this->translator = $translator;
62-
$this->cache = $cache;
57+
$this->cache = resolve(Cache::class);
6358
}
6459

6560
/**

0 commit comments

Comments
 (0)