Skip to content

Commit

Permalink
Prevent bug emoji on dumpable dd (#52234)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessarcher authored Jul 23, 2024
1 parent 426d0bc commit 4fcf4a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Collections/Traits/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@ public function some($key, $operator = null, $value = null)
*/
public function dd(...$args)
{
$this->dump(...$args);

dd();
dd($this->all(), ...$args);
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/Illuminate/Support/Traits/Dumpable.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ trait Dumpable
*/
public function dd(...$args)
{
$this->dump(...$args);

dd();
dd($this, ...$args);
}

/**
Expand Down

0 comments on commit 4fcf4a6

Please sign in to comment.