Skip to content

Fix issue from file that was a symlink #2387

Fix issue from file that was a symlink

Fix issue from file that was a symlink #2387

Triggered via push June 14, 2024 06:42
Status Failure
Total duration 3m 4s
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#L149
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#L345
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#L347
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.