@@ -434,7 +434,7 @@ public static function and(array $queries): string
434
434
*/
435
435
public static function distanceEqual (string $ attribute , array $ values , int |float $ distance , bool $ meters = true ): string
436
436
{
437
- return (new Query ('distanceEqual ' , $ attribute , [$ values , $ distance , $ meters ]))->__toString ();
437
+ return (new Query ('distanceEqual ' , $ attribute , [[ $ values , $ distance , $ meters] ]))->__toString ();
438
438
}
439
439
440
440
/**
@@ -447,7 +447,7 @@ public static function distanceEqual(string $attribute, array $values, int|float
447
447
*/
448
448
public static function distanceNotEqual (string $ attribute , array $ values , int |float $ distance , bool $ meters = true ): string
449
449
{
450
- return (new Query ('distanceNotEqual ' , $ attribute , [$ values , $ distance , $ meters ]))->__toString ();
450
+ return (new Query ('distanceNotEqual ' , $ attribute , [[ $ values , $ distance , $ meters] ]))->__toString ();
451
451
}
452
452
453
453
/**
@@ -460,7 +460,7 @@ public static function distanceNotEqual(string $attribute, array $values, int|fl
460
460
*/
461
461
public static function distanceGreaterThan (string $ attribute , array $ values , int |float $ distance , bool $ meters = true ): string
462
462
{
463
- return (new Query ('distanceGreaterThan ' , $ attribute , [$ values , $ distance , $ meters ]))->__toString ();
463
+ return (new Query ('distanceGreaterThan ' , $ attribute , [[ $ values , $ distance , $ meters] ]))->__toString ();
464
464
}
465
465
466
466
/**
@@ -474,7 +474,7 @@ public static function distanceGreaterThan(string $attribute, array $values, int
474
474
*/
475
475
public static function distanceLessThan (string $ attribute , array $ values , int |float $ distance , bool $ meters = true ): string
476
476
{
477
- return (new Query ('distanceLessThan ' , $ attribute , [$ values , $ distance , $ meters ]))->__toString ();
477
+ return (new Query ('distanceLessThan ' , $ attribute , [[ $ values , $ distance , $ meters] ]))->__toString ();
478
478
}
479
479
480
480
/**
@@ -486,7 +486,7 @@ public static function distanceLessThan(string $attribute, array $values, int|fl
486
486
*/
487
487
public static function intersects (string $ attribute , array $ values ): string
488
488
{
489
- return (new Query ('intersects ' , $ attribute , $ values ))->__toString ();
489
+ return (new Query ('intersects ' , $ attribute , [ $ values] ))->__toString ();
490
490
}
491
491
492
492
/**
@@ -498,7 +498,7 @@ public static function intersects(string $attribute, array $values): string
498
498
*/
499
499
public static function notIntersects (string $ attribute , array $ values ): string
500
500
{
501
- return (new Query ('notIntersects ' , $ attribute , $ values ))->__toString ();
501
+ return (new Query ('notIntersects ' , $ attribute , [ $ values] ))->__toString ();
502
502
}
503
503
504
504
/**
@@ -510,7 +510,7 @@ public static function notIntersects(string $attribute, array $values): string
510
510
*/
511
511
public static function crosses (string $ attribute , array $ values ): string
512
512
{
513
- return (new Query ('crosses ' , $ attribute , $ values ))->__toString ();
513
+ return (new Query ('crosses ' , $ attribute , [ $ values] ))->__toString ();
514
514
}
515
515
516
516
/**
@@ -522,7 +522,7 @@ public static function crosses(string $attribute, array $values): string
522
522
*/
523
523
public static function notCrosses (string $ attribute , array $ values ): string
524
524
{
525
- return (new Query ('notCrosses ' , $ attribute , $ values ))->__toString ();
525
+ return (new Query ('notCrosses ' , $ attribute , [ $ values] ))->__toString ();
526
526
}
527
527
528
528
/**
@@ -534,7 +534,7 @@ public static function notCrosses(string $attribute, array $values): string
534
534
*/
535
535
public static function overlaps (string $ attribute , array $ values ): string
536
536
{
537
- return (new Query ('overlaps ' , $ attribute , $ values ))->__toString ();
537
+ return (new Query ('overlaps ' , $ attribute , [ $ values] ))->__toString ();
538
538
}
539
539
540
540
/**
@@ -546,7 +546,7 @@ public static function overlaps(string $attribute, array $values): string
546
546
*/
547
547
public static function notOverlaps (string $ attribute , array $ values ): string
548
548
{
549
- return (new Query ('notOverlaps ' , $ attribute , $ values ))->__toString ();
549
+ return (new Query ('notOverlaps ' , $ attribute , [ $ values] ))->__toString ();
550
550
}
551
551
552
552
/**
@@ -558,7 +558,7 @@ public static function notOverlaps(string $attribute, array $values): string
558
558
*/
559
559
public static function touches (string $ attribute , array $ values ): string
560
560
{
561
- return (new Query ('touches ' , $ attribute , $ values ))->__toString ();
561
+ return (new Query ('touches ' , $ attribute , [ $ values] ))->__toString ();
562
562
}
563
563
564
564
/**
@@ -570,6 +570,6 @@ public static function touches(string $attribute, array $values): string
570
570
*/
571
571
public static function notTouches (string $ attribute , array $ values ): string
572
572
{
573
- return (new Query ('notTouches ' , $ attribute , $ values ))->__toString ();
573
+ return (new Query ('notTouches ' , $ attribute , [ $ values] ))->__toString ();
574
574
}
575
575
}
0 commit comments