Skip to content

Commit

Permalink
Remove no longer required status code in dd helper (#23930)
Browse files Browse the repository at this point in the history
Chrome 65 has fixed the bug that required this workaround

https://bugs.chromium.org/p/chromium/issues/detail?id=785050
  • Loading branch information
roberto-aguilar authored and taylorotwell committed Apr 19, 2018
1 parent a71dc5c commit 0c6f474
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Illuminate/Support/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ public function crossJoin(...$lists)
*/
public function dd(...$args)
{
http_response_code(500);

call_user_func_array([$this, 'dump'], $args);

die(1);
Expand Down
2 changes: 0 additions & 2 deletions src/Illuminate/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,6 @@ function data_set(&$target, $key, $value, $overwrite = true)
*/
function dd(...$args)
{
http_response_code(500);

foreach ($args as $x) {
(new Dumper)->dump($x);
}
Expand Down

0 comments on commit 0c6f474

Please sign in to comment.