Skip to content

feat: add plus operation #1822

feat: add plus operation

feat: add plus operation #1822

Triggered via pull request November 11, 2023 09:53
Status Failure
Total duration 1m 6s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Static Analysis (ubuntu-latest, 8.1): src/Operation/Plus.php#L24
Template type U of method loophp\collection\Operation\Plus::__invoke() is not referenced in a parameter.
Static Analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L102
Method loophp\collection\Collection::coalesce() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L107
Method loophp\collection\Collection::collapse() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L164
Method loophp\collection\Collection::cycle() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L303
Method loophp\collection\Collection::flip() should return loophp\collection\Contract\Collection<T, TKey> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L313
Parameter #1 $ of closure expects callable(mixed, mixed, mixed, iterable): mixed, callable(T|V, T, TKey, iterable<TKey, T>): V given.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L323
Parameter #1 $ of closure expects callable(mixed, mixed, mixed, iterable): mixed, callable(T|V, T, TKey, iterable<TKey, T>): V given.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L333
Method loophp\collection\Collection::frequency() should return loophp\collection\Contract\Collection<int, T> but returns loophp\collection\Collection<int, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L459
Method loophp\collection\Collection::init() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L507
Method loophp\collection\Collection::keys() should return loophp\collection\Contract\Collection<int, TKey> but returns loophp\collection\Collection<int, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L562
Method loophp\collection\Collection::normalize() should return loophp\collection\Contract\Collection<int, T> but returns loophp\collection\Collection<int, mixed>.