diff options
| author | 2022-02-07 00:56:59 +0100 | |
|---|---|---|
| committer | 2022-02-07 00:56:59 +0100 | |
| commit | 354f22b4fa30443cf6f0a62dbddb18a78af6d93b (patch) | |
| tree | 30fd132d79a7b9b526f9a4910af729db9d1a6289 /lib | |
| parent | 7c2da31418d3479b60c9c6b28cc595deda93d434 (diff) | |
PHPStan update to 1.4.6 (#4203)
https://github.com/phpstan/phpstan/releases
And compose udpdate
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; |
