Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Nov 19, 2024
1 parent 696f6fd commit 3491b75
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions framework/core/src/Foundation/AbstractValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,15 @@ public function addConfiguration($callable)
*/
protected $translator;

/**
* @var Cache
*/
protected $cache;

/**
* @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);

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.1

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.0

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.4

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.3

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.

Check failure on line 57 in framework/core/src/Foundation/AbstractValidator.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.2

Access to an undefined property Flarum\Foundation\AbstractValidator::$cache.
}

/**
Expand Down

0 comments on commit 3491b75

Please sign in to comment.