11:53 PHPStan
phpstan: Note: Using configuration file /Users/ahoi/Entwicklung/Laravel/test/phpstan.neon.
Symfony\Component\ErrorHandler\Error\FatalError
Declaration of HDVinnie\Purifier\Casts\CleanHtmlOutput::get(Illuminate\Database\Eloquent\Model $model, string $key, $value, array $attributes): array must be compatible with Illuminate\Contracts\Database\Eloquent\CastsAttributes::get($model, string $key, $value, array $attributes)
at vendor/hdvinnie/laravel-html-purifier/src/Casts/CleanHtmlOutput.php:12
8โ {
9โ /**
10โ * Clean the HTML when casting the given value.
11โ */
โ 12โ public function get(\Illuminate\Database\Eloquent\Model $model, string $key, $value, array $attributes): array
13โ {
14โ return clean($value);
15โ }
16โ
Whoops\Exception\ErrorException
Declaration of HDVinnie\Purifier\Casts\CleanHtmlOutput::get(...
Open PHPStan Inspection Settings (show balloon)