Skip to content

[9.x] Use coalesce equal as provided by PHP >= 7.4#41174

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
lucasmichot:coalesce-equal
Feb 22, 2022
Merged

[9.x] Use coalesce equal as provided by PHP >= 7.4#41174
taylorotwell merged 1 commit into
laravel:9.xfrom
lucasmichot:coalesce-equal

Conversation

@lucasmichot

Copy link
Copy Markdown
Contributor

This PR ensures that the coalesce equal operator ??= is used, instead of uselessly compare agains the value.

@lucasmichot lucasmichot changed the title [9.x] Use coalesce equal as provided by PHP >= 8 [9.x] Use coalesce equal as provided by PHP >= 7.4 Feb 22, 2022
@taylorotwell taylorotwell merged commit fc97186 into laravel:9.x Feb 22, 2022
@lucasmichot lucasmichot deleted the coalesce-equal branch August 6, 2022 13:53
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