Skip to content

Commit 695859d

Browse files
author
David Nahodyl
committed
Laravel 9 compatibility
1 parent bcde12c commit 695859d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@
2828
},
2929
"require": {
3030
"php": ">=7.2",
31-
"illuminate/support": "^7.0 || ^8.0",
32-
"illuminate/database": "^7.0 || ^8.0",
33-
"illuminate/http": "^7.0 || ^8.0",
34-
"illuminate/pagination": "^7.0 || ^8.0",
35-
"guzzlehttp/guzzle": "^7.3",
31+
"illuminate/database": "^7.0|^8.0|^9.0",
32+
"guzzlehttp/guzzle": "^7.2",
3633
"ext-json": "*"
3734
},
3835
"require-dev": {

src/Database/Query/FMBaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ protected function addFindRequest()
623623
* Add a where between statement to the query.
624624
*
625625
*/
626-
public function whereBetween($column, array $values, $boolean = 'and', $not = false)
626+
public function whereBetween($column, iterable $values, $boolean = 'and', $not = false)
627627
{
628628
$this->where($column, null, $values[0] . "..." & $values[1], $boolean);
629629
return $this;

0 commit comments

Comments
 (0)