Fix types for Paginator
Showing 1 of 2 files from the diff.
Newly tracked file
lib/Doctrine/ORM/Tools/Pagination/Paginator.php
changed.
Other files ignored by Codecov
psalm-baseline.xml
has changed.
@@ -26,6 +26,7 @@
Loading
26 | 26 | * The paginator can handle various complex scenarios with DQL. |
|
27 | 27 | * |
|
28 | 28 | * @template T |
|
29 | + | * @implements IteratorAggregate<array-key, T> |
|
29 | 30 | */ |
|
30 | 31 | class Paginator implements Countable, IteratorAggregate |
|
31 | 32 | { |
@@ -40,7 +41,7 @@
Loading
40 | 41 | /** @var bool|null */ |
|
41 | 42 | private $useOutputWalkers; |
|
42 | 43 | ||
43 | - | /** @var int */ |
|
44 | + | /** @var int|null */ |
|
44 | 45 | private $count; |
|
45 | 46 | ||
46 | 47 | /** |
Files | Coverage |
---|---|
lib/Doctrine/ORM | 84.74% |
Project Totals (371 files) | 84.74% |
3535581884
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.