Skip to content

Merge pull request #69 from murrant/analysis-6VrG54 #2395

Merge pull request #69 from murrant/analysis-6VrG54

Merge pull request #69 from murrant/analysis-6VrG54 #2395

Triggered via push June 14, 2024 13:33
Status Failure
Total duration 2m 59s
Artifacts

lint.yml

on: push
Matrix: PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PHP Static Analysis (8.1): app/Http/Controllers/Device/Tabs/PortsController.php#L118
Parameter #1 $port of method App\Http\Controllers\Device\Tabs\PortsController::findPortNeighbors() expects App\Models\Port, Illuminate\Database\Eloquent\Model given.
PHP Static Analysis (8.1): app/Http/Controllers/Device/Tabs/PortsController.php#L339
Call to an undefined method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::hasAccess().
PHP Static Analysis (8.1): app/Http/Controllers/Device/Tabs/PortsController.php#L341
Parameter #2 $callback of method Illuminate\Database\Eloquent\Relations\HasMany<App\Models\Port>::when() expects (callable(Illuminate\Database\Eloquent\Relations\HasMany<App\Models\Port>, bool): Illuminate\Database\Eloquent\Builder)|null, Closure(Illuminate\Database\Eloquent\Builder, mixed): Illuminate\Database\Eloquent\Builder given.
PHP Static Analysis (8.1)
Process completed with exit code 1.