Upgrade to 4.0.0
This commit is contained in:
@@ -259,8 +259,11 @@ class Query
|
||||
* @param string $type The join type. Uses an inner join by default
|
||||
* @return $this
|
||||
*/
|
||||
public function join(string $table, string $on, string $type = 'JOIN'): static
|
||||
{
|
||||
public function join(
|
||||
string $table,
|
||||
string $on,
|
||||
string $type = 'JOIN'
|
||||
): static {
|
||||
$join = [
|
||||
'table' => $table,
|
||||
'on' => $on,
|
||||
@@ -678,7 +681,7 @@ class Query
|
||||
$collection = $this
|
||||
->offset($pagination->offset())
|
||||
->limit($pagination->limit())
|
||||
->iterator('Kirby\Toolkit\Collection')
|
||||
->iterator(Collection::class)
|
||||
->all();
|
||||
|
||||
$this->iterator($iterator);
|
||||
|
||||
Reference in New Issue
Block a user