diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/ExtensionManager.php | 1 | ||||
| -rw-r--r-- | lib/Minz/Paginator.php | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 17977fb0c..3fcbb2ab3 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -76,6 +76,7 @@ class Minz_ExtensionManager { 'signature' => 'PassArguments', ), ); + // @phpstan-ignore-next-line private static $ext_to_hooks = array(); /** 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; |
