Skip to content

Refactor repository contracts #8

Refactor repository contracts

Refactor repository contracts #8

Triggered via pull request December 5, 2023 13:01
Status Failure
Total duration 40s
Artifacts

static-analysis.yml

on: pull_request
Static Code Analysis
27s
Static Code Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Code Analysis: src/BaseEloquentRepository.php#L22
Property Salehhashemi\Repository\BaseEloquentRepository::$relations type has no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L24
Property Salehhashemi\Repository\BaseEloquentRepository::$orderByFields type has no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L92
Method Salehhashemi\Repository\BaseEloquentRepository::findAll() has parameter $options with no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L92
Method Salehhashemi\Repository\BaseEloquentRepository::findAll() return type with generic class Illuminate\Database\Eloquent\Collection does not specify its types: TKey, TModel
Static Code Analysis: src/BaseEloquentRepository.php#L119
Method Salehhashemi\Repository\BaseEloquentRepository::findList() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
Static Code Analysis: src/BaseEloquentRepository.php#L171
Method Salehhashemi\Repository\BaseEloquentRepository::applyConditions() has parameter $conditions with no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L231
Method Salehhashemi\Repository\BaseEloquentRepository::with() has parameter $relations with no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L273
Method Salehhashemi\Repository\BaseEloquentRepository::aliasFields() has parameter $fields with no value type specified in iterable type array.
Static Code Analysis: src/BaseEloquentRepository.php#L273
Method Salehhashemi\Repository\BaseEloquentRepository::aliasFields() return type has no value type specified in iterable type array.
Static Code Analysis: src/BaseFilter.php#L29
Method Salehhashemi\Repository\BaseFilter::applyFilter() has parameter $queryParams with no value type specified in iterable type array.