Skip to content

document step UI

document step UI #16

Triggered via push February 3, 2025 18:08
Status Failure
Total duration 48s
Artifacts

larastan.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L11
PHPDoc tag @extends has invalid type App\Models\Document.
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L11
Type App\Models\Document in generic type Illuminate\Database\Eloquent\Factories\Factory<App\Models\Document> in PHPDoc tag @extends is not subtype of template type TModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Factories\Factory.
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L13
Property Tapp\FilamentLms\Database\Factories\DocumentFactory::$model (class-string<App\Models\Document>) does not accept default value of type string.
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L13
Property Tapp\FilamentLms\Database\Factories\DocumentFactory::$model has unknown class App\Models\Document as its type.
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L32
Parameter #1 $callback of method Illuminate\Database\Eloquent\Factories\Factory<App\Models\Document>::afterCreating() expects Closure(App\Models\Document): mixed, Closure(Tapp\FilamentLms\Models\Document): void given.
php 8.2 on ubuntu-latest: database/factories/DocumentFactory.php#L34
Call to method addMedia() on an unknown class App\Models\Document.
php 8.2 on ubuntu-latest: database/factories/LinkFactory.php#L11
PHPDoc tag @extends has invalid type App\Models\Link.
php 8.2 on ubuntu-latest: database/factories/LinkFactory.php#L11
Type App\Models\Link in generic type Illuminate\Database\Eloquent\Factories\Factory<App\Models\Link> in PHPDoc tag @extends is not subtype of template type TModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Factories\Factory.
php 8.2 on ubuntu-latest: database/factories/LinkFactory.php#L13
Property Tapp\FilamentLms\Database\Factories\LinkFactory::$model (class-string<App\Models\Link>) does not accept default value of type string.
php 8.2 on ubuntu-latest: database/factories/LinkFactory.php#L13
Property Tapp\FilamentLms\Database\Factories\LinkFactory::$model has unknown class App\Models\Link as its type.