chore: more specific return type for chunk() method #1957
Annotations
12 errors
Static Analysis (ubuntu-latest, 8.1):
src/Operation/Chunk.php#L57
PHPDoc tag @var for variable $chunk has no value type specified in iterable type array<int, mixed>.
|
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#L311
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#L341
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#L467
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#L515
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#L570
Method loophp\collection\Collection::normalize() should return loophp\collection\Contract\Collection<int, T> but returns loophp\collection\Collection<int, mixed>.
|
Static Analysis (ubuntu-latest, 8.1):
src/Collection.php#L595
Method loophp\collection\Collection::pair() should return loophp\collection\Contract\Collection<T, T|null> but returns loophp\collection\Collection<mixed, mixed>.
|
Static Analysis (ubuntu-latest, 8.1):
src/Collection.php#L666
Method loophp\collection\Collection::reverse() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
|