diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 2ea0880c2398..78690232970b 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -229,9 +229,7 @@ public function some($key, $operator = null, $value = null) */ public function dd(...$args) { - $this->dump(...$args); - - dd(); + dd($this->all(), ...$args); } /** diff --git a/src/Illuminate/Support/Traits/Dumpable.php b/src/Illuminate/Support/Traits/Dumpable.php index 448b5ba62c17..44ad14dfc393 100644 --- a/src/Illuminate/Support/Traits/Dumpable.php +++ b/src/Illuminate/Support/Traits/Dumpable.php @@ -12,9 +12,7 @@ trait Dumpable */ public function dd(...$args) { - $this->dump(...$args); - - dd(); + dd($this, ...$args); } /**