Skip to content

Fix type hinting in method return types #36

Fix type hinting in method return types

Fix type hinting in method return types #36

Triggered via push February 8, 2024 13:43
Status Failure
Total duration 44s
Artifacts

run-phpstan.yml

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

Annotations

5 errors and 1 warning
PHPStan - P8.2 - L10 - prefer-stable - ubuntu-latest: src/Views/Filters/MultiSelectDropdownFilter.php#L76
Method Rappasoft\LaravelLivewireTables\Views\Filters\MultiSelectDropdownFilter::getFilterOperator() should return Rappasoft\LaravelLivewireTables\Views\Filter but returns string.
PHPStan - P8.2 - L10 - prefer-stable - ubuntu-latest: src/Views/Traits/Helpers/FilterHelpers.php (in context of class Rappasoft/LaravelLivewireTables/Views/Filter)#L69
Method Rappasoft\LaravelLivewireTables\Views\Filter::getFilterOperator() should return Rappasoft\LaravelLivewireTables\Views\Filter but returns null.
PHPStan - P8.2 - L10 - prefer-stable - ubuntu-latest: src/Views/Traits/Helpers/FilterHelpers.php (in context of class Rappasoft/LaravelLivewireTables/Views/Filter)#L77
PHPDoc tag @return with type array is incompatible with native type Rappasoft\LaravelLivewireTables\Views\Filter.
PHPStan - P8.2 - L10 - prefer-stable - ubuntu-latest
Process completed with exit code 1.
PHPStan - P8.2 - L10 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.