Skip to content

[8.x] Fix PruneCommand finding its usage within other traits - #42350

Merged
taylorotwell merged 1 commit into
laravel:8.xfrom
brunogaspar:bugfix/prunable-finding-usage-on-traits
May 11, 2022
Merged

[8.x] Fix PruneCommand finding its usage within other traits#42350
taylorotwell merged 1 commit into
laravel:8.xfrom
brunogaspar:bugfix/prunable-finding-usage-on-traits

Conversation

@brunogaspar

Copy link
Copy Markdown
Member

This addresses an edge case i think, where using the Prunable trait within another trait (due to several reasons like modifying behaviour, removing duplication, etc..) was breaking the PruneCommand from behaving properly, since the trait was being detected as a class.

Signed-off-by: Bruno Gaspar brunofgaspar1@gmail.com

This addresses an edge case where using the Prunable trait within another trait (due to several reasons like modifying behaviour, removing duplication, etc..) it was breaking the PruneCommand from behaving properly ince the trait was being detected as a class.

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
@taylorotwell
taylorotwell merged commit 5cd540e into laravel:8.x May 11, 2022
@brunogaspar
brunogaspar deleted the bugfix/prunable-finding-usage-on-traits branch May 11, 2022 14:42
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