Skip to content

Commit 93f021c

Browse files
authored
Update BinaryQuery.php
1 parent 6ec6be9 commit 93f021c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/Query/BinaryQuery.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function BinaryQuery(array $container, $search)
5555
*/
5656
function BinaryQueryRecursive(array $container, $search, $low = 0, $top = 'default')
5757
{
58-
$top == 'default' && $top = count($container);
58+
$top === 'default' && $top = count($container);
5959
if ($low <= $top) {
6060
$mid = intval(floor($low + $top) / 2);
6161
if (!isset($container[$mid])) {
@@ -98,4 +98,4 @@ function BinaryQueryRecursive(array $container, $search, $low = 0, $top = 'defau
9898
[6] =>
9999
int(9)
100100
}
101-
*/
101+
*/

0 commit comments

Comments
 (0)