Skip to content

Merge branch 'main' of https://github.com/cleaniquecoders/app-pulse #10

Merge branch 'main' of https://github.com/cleaniquecoders/app-pulse

Merge branch 'main' of https://github.com/cleaniquecoders/app-pulse #10

Triggered via push November 14, 2024 16:42
Status Failure
Total duration 35s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
phpstan: src/Models/Monitor.php#L23
Class CleaniqueCoders\AppPulse\Models\Monitor uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
phpstan: src/Models/Monitor.php#L54
Method CleaniqueCoders\AppPulse\Models\Monitor::owner() should return Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, CleaniqueCoders\AppPulse\Models\Monitor> but returns Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, $this(CleaniqueCoders\AppPulse\Models\Monitor)>.
phpstan: src/Models/Monitor.php#L62
Method CleaniqueCoders\AppPulse\Models\Monitor::histories() should return Illuminate\Database\Eloquent\Relations\HasMany<CleaniqueCoders\AppPulse\Models\MonitorHistory, CleaniqueCoders\AppPulse\Models\Monitor> but returns Illuminate\Database\Eloquent\Relations\HasMany<CleaniqueCoders\AppPulse\Models\MonitorHistory, $this(CleaniqueCoders\AppPulse\Models\Monitor)>.
phpstan: src/Models/MonitorHistory.php#L12
Class CleaniqueCoders\AppPulse\Models\MonitorHistory uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
phpstan: src/Models/MonitorHistory.php#L23
Method CleaniqueCoders\AppPulse\Models\MonitorHistory::monitor() return type with generic class Illuminate\Database\Eloquent\Relations\BelongsTo does not specify its types: TRelatedModel, TDeclaringModel
phpstan
Process completed with exit code 1.