We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696f6fd commit ad4c7f1Copy full SHA for ad4c7f1
framework/core/src/Foundation/AbstractValidator.php
@@ -55,11 +55,11 @@ public function addConfiguration($callable)
55
* @param Factory $validator
56
* @param TranslatorInterface $translator
57
*/
58
- public function __construct(Factory $validator, TranslatorInterface $translator, Cache $cache)
+ public function __construct(Factory $validator, TranslatorInterface $translator)
59
{
60
$this->validator = $validator;
61
$this->translator = $translator;
62
- $this->cache = $cache;
+ $this->cache = resolve(Cache::class);
63
}
64
65
/**
0 commit comments