Skip to content

Enumerable skus instead of Collection #164

Enumerable skus instead of Collection

Enumerable skus instead of Collection #164

Triggered via push November 13, 2024 10:53
Status Failure
Total duration 35s
Artifacts

analyse.yml

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

Annotations

4 errors
P8.3 - L11.* - prefer-stable - ubuntu-latest: src/Repositories/Repository.php#L18
Return type Illuminate\Support\Enumerable of method JustBetter\MagentoStock\Repositories\Repository::skus() is not covariant with return type Illuminate\Support\Collection of method JustBetter\MagentoStock\Repositories\BaseRepository::skus().
P8.3 - L11.* - prefer-stable - ubuntu-latest: src/Repositories/Repository.php#L21
PHPDoc tag @var for variable $skus contains unknown class JustBetter\MagentoStock\Repositories\Collection.
P8.3 - L11.* - prefer-stable - ubuntu-latest: src/Repositories/Repository.php#L27
Method JustBetter\MagentoStock\Repositories\Repository::skus() should return Illuminate\Support\Collection<int, string> but returns JustBetter\MagentoStock\Repositories\Collection<int, string>.
P8.3 - L11.* - prefer-stable - ubuntu-latest
Process completed with exit code 1.