Update GA #11
Annotations
6 errors
Run 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
|
Run 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)>.
|
Run 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)>.
|
Run 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
|
Run 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
|
Run PHPStan
Process completed with exit code 1.
|
Loading