Skip to content

Commit 32f65b7

Browse files
greg0iredunglas
authored andcommitted
Document what count() is supposed to return (#1468)
1 parent 290b619 commit 32f65b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DataProvider/PaginatorInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
namespace ApiPlatform\Core\DataProvider;
1515

1616
/**
17-
* Paginator Interface.
17+
* The \Countable implementation should return the number of items on the
18+
* current page, as an integer.
1819
*
1920
* @author Kévin Dunglas <[email protected]>
2021
*/

0 commit comments

Comments
 (0)