Skip to content

Conversation

@regularlabs
Copy link
Contributor

Refactors the if structure in ConfirmableTrait::confirmToProceed by using an early return.
This reduces the indentation and improves readability.

Refactors the `if` structure in `ConfirmableTrait::confirmToProceed` by using an early return.
This reduces the indentation and improves readability.
@regularlabs regularlabs changed the title [5.4] Refactors if structure in ConfirmableTrait::confirmToProceed [5.4] Refactors if structure May 2, 2017
@taylorotwell
Copy link
Member

Unless it fixes a bug I don't typically merge these kinds of changes.

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