Skip to content

Commit 8e85484

Browse files
committed
MC-33231: Stabilize Integration tests to work with elasticsearch
- Added jenkins static failures fix
1 parent 6b559a3 commit 8e85484

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/internal/Magento/Framework/Search/Dynamic/Algorithm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,11 @@ protected function _binarySearch($value, $limits = null)
602602
/**
603603
* Get the offsetLimit value
604604
*
605-
* @param float|int $intervalValuesCount
605+
* @param float $intervalValuesCount
606606
* @param array $values
607+
* @return float|int
607608
*/
608-
private function offsetLimits($intervalValuesCount, $values)
609+
private function offsetLimits(float $intervalValuesCount, array $values)
609610
{
610611
if (array_key_exists((int)$intervalValuesCount - 1, $values)) {
611612
return $values[$intervalValuesCount - 1];

0 commit comments

Comments
 (0)