Skip to content

Comments

refactor: simplify changes() method using Collection::only()#1423

Closed
Ayoub-Mabrouk wants to merge 1 commit intospatie:mainfrom
Ayoub-Mabrouk:changesOptimized
Closed

refactor: simplify changes() method using Collection::only()#1423
Ayoub-Mabrouk wants to merge 1 commit intospatie:mainfrom
Ayoub-Mabrouk:changesOptimized

Conversation

@Ayoub-Mabrouk
Copy link

  • Replace array_filter with Collection::only() for better readability
  • Maintain same functionality with cleaner implementation
  • Leverage Laravel's built-in collection methods

- Replace array_filter with Collection::only() for better readability
- Maintain same functionality with cleaner implementation
- Leverage Laravel's built-in collection methods
@github-actions github-actions bot added the stale label Nov 9, 2025
@github-actions github-actions bot closed this Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant