61 add search #76
Annotations
7 errors
Run PHPStan:
src/Http/Controllers/SearchController.php#L27
Part $query (mixed) of encapsed string cannot be cast to string.
|
Run PHPStan:
src/Models/Document.php#L28
Class BenBjurstrom\Prezet\Models\Document uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
|
Run PHPStan:
src/Models/Heading.php#L30
PHPDoc type array of property BenBjurstrom\Prezet\Models\Heading::$appends is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$appends.
|
Run PHPStan:
src/Models/Heading.php#L30
Property BenBjurstrom\Prezet\Models\Heading::$appends type has no value type specified in iterable type array.
|
Run PHPStan:
src/Models/Heading.php#L51
Method BenBjurstrom\Prezet\Models\Heading::url() return type with generic class Illuminate\Database\Eloquent\Casts\Attribute does not specify its types: TGet, TSet
|
Run PHPStan:
src/Models/Heading.php#L57
Cannot access property $slug on BenBjurstrom\Prezet\Models\Document|null.
|
Run PHPStan
Process completed with exit code 1.
|
Loading