Support paginations aware of their total items #46
Annotations
10 errors and 1 warning
Execute Duster:
src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L25
Parameter $callback of method Cerbero\LazyJsonPages\Paginations\LengthAwarePagination::retry() has invalid type Cerbero\LazyJsonPages\Concerns\Outcome.
|
Execute Duster:
src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L35
Closure invoked with 0 parameters, 1 required.
|
Execute Duster:
src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L43
Comparison operation ">" between int<1, max> and 0 is always true.
|
Execute Duster:
src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L61
Parameter #3 $items of class Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException constructor expects Closure(): Cerbero\LazyJsonPages\Exceptions\Generator<int, mixed>, Closure(): Generator<int, mixed, mixed, void> given.
|
Execute Duster:
src/Concerns/SendsAsyncRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L35
Generator expects value type Psr\Http\Message\ResponseInterface, mixed given.
|
|
Execute Duster:
src/Concerns/YieldsPaginatedItems.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L30
Access to an undefined property object::$value.
|
Execute Duster:
src/Concerns/YieldsPaginatedItems.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L46
Generator expects key type int, int|string given.
|
Execute Duster:
src/Exceptions/OutOfAttemptsException.php#L27
Parameter $items of method Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException::__construct() has invalid type Cerbero\LazyJsonPages\Exceptions\Generator.
|
Execute Duster:
src/Exceptions/OutOfAttemptsException.php#L29
Parameter #1 $source of class Illuminate\Support\LazyCollection constructor expects (Closure(): Generator<TKey, TValue, mixed, void>)|Illuminate\Contracts\Support\Arrayable<TKey of (int|string), TValue>|iterable<TKey of (int|string), TValue>|null, Closure(): Cerbero\LazyJsonPages\Exceptions\Generator<int, mixed> given.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading