Skip to content

Commit be1d10d

Browse files
committed
PHPORM-151 Update signature of Query\Builder::dump to match parent Dumpable
Laravel 11 breaking change
1 parent 0cef5dc commit be1d10d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Query/Builder.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,14 @@ public function dd()
267267
/**
268268
* Dump the current MongoDB query
269269
*
270+
* @param mixed ...$args
271+
*
270272
* @return $this
271273
*/
272274
#[Override]
273-
public function dump()
275+
public function dump(mixed ...$args)
274276
{
275-
dump($this->toMql());
277+
dump($this->toMql(), ...$args);
276278

277279
return $this;
278280
}

0 commit comments

Comments
 (0)