diff options
| author | 2022-02-07 00:56:59 +0100 | |
|---|---|---|
| committer | 2022-02-07 00:56:59 +0100 | |
| commit | 354f22b4fa30443cf6f0a62dbddb18a78af6d93b (patch) | |
| tree | 30fd132d79a7b9b526f9a4910af729db9d1a6289 /lib/Minz/Paginator.php | |
| parent | 7c2da31418d3479b60c9c6b28cc595deda93d434 (diff) | |
PHPStan update to 1.4.6 (#4203)
https://github.com/phpstan/phpstan/releases
And compose udpdate
Diffstat (limited to 'lib/Minz/Paginator.php')
| -rw-r--r-- | lib/Minz/Paginator.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/Paginator.php b/lib/Minz/Paginator.php index 0d9f2b6c3..e11dda11c 100644 --- a/lib/Minz/Paginator.php +++ b/lib/Minz/Paginator.php @@ -76,9 +76,9 @@ class Minz_Paginator { } /** - * Permet de retrouver la position d'un élément donné (à partir de 0) - * @param Minz_Model $item l'élément à retrouver - * @return float|false la position à laquelle se trouve l’élément, false si non trouvé + * Search the position (index) of a given element + * @param Minz_Model $item the element to search + * @return int|false the position of the element, or false if not found */ public function positionByItem ($item) { $i = 0; |
