Skip to content

Comments

[12.x] Refactor: use Dumpable#58743

Merged
taylorotwell merged 2 commits intolaravel:12.xfrom
alipowerful7:refactor/use-Dumpable
Feb 10, 2026
Merged

[12.x] Refactor: use Dumpable#58743
taylorotwell merged 2 commits intolaravel:12.xfrom
alipowerful7:refactor/use-Dumpable

Conversation

@alipowerful7
Copy link
Contributor

[12.x] Use Dumpable trait in ValidatedInput

This PR applies the Dumpable trait to the ValidatedInput class, following the pattern established in #47122.

The dump() method is overridden to maintain the existing behavior of filtering keys, while dd() is inherited from the trait.

Changes:

  • Add Dumpable trait to ValidatedInput
  • Update dump() signature to use variadic parameters (...$keys)
  • Remove custom dd() implementation (inherited from trait)
  • Maintain backward compatibility with existing filtering behavior

@taylorotwell taylorotwell merged commit 6a8d6cd into laravel:12.x Feb 10, 2026
70 checks passed
@alipowerful7 alipowerful7 deleted the refactor/use-Dumpable branch February 10, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants