Skip to content

Commit 6d83610

Browse files
authored
Merge pull request #5 from trybeapp/laravel-10
fix: Laravel 10 compatibility
2 parents 9d4812e + 21a340a commit 6d83610

File tree

2 files changed

+8
-26
lines changed

2 files changed

+8
-26
lines changed

src/Eloquent/Builder.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ class Builder extends EloquentBuilder
2121
'avg',
2222
'count',
2323
'dd',
24-
'doesntExist',
24+
'doesntexist',
2525
'dump',
2626
'exists',
27-
'getBindings',
28-
'getConnection',
29-
'getGrammar',
27+
'getbindings',
28+
'getconnection',
29+
'getgrammar',
3030
'insert',
31-
'insertGetId',
32-
'insertOrIgnore',
33-
'insertUsing',
31+
'insertgetid',
32+
'insertorignore',
33+
'insertusing',
3434
'max',
3535
'min',
3636
'pluck',
3737
'pull',
3838
'push',
3939
'raw',
4040
'sum',
41-
'toSql',
41+
'tosql',
4242
];
4343

4444
/**

src/Query/Builder.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -518,24 +518,6 @@ public function orderBy($column, $direction = 'asc')
518518
return $this;
519519
}
520520

521-
/**
522-
* Add a "where all" clause to the query.
523-
*
524-
* @param string $column
525-
* @param array $values
526-
* @param string $boolean
527-
* @param bool $not
528-
* @return $this
529-
*/
530-
public function whereAll($column, array $values, $boolean = 'and', $not = false)
531-
{
532-
$type = 'all';
533-
534-
$this->wheres[] = compact('column', 'type', 'boolean', 'values', 'not');
535-
536-
return $this;
537-
}
538-
539521
/**
540522
* @inheritdoc
541523
*/

0 commit comments

Comments
 (0)