Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization(all): Auth::user() optimization #908

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

SpeedyD
Copy link
Contributor

@SpeedyD SpeedyD commented Apr 14, 2024

This is a mindless Replace In Files sweep. Be sure to check it over.

Replaces
Auth::check() ? Auth::user() : null
with
Auth::user() ?? null

This has been discussed and tested prior, though not in all situations.
(See also issue #907 and the resolved convo in PR #822.)

Auth::check() ? Auth::user() : null
to
Auth::user() ?? null
@itinerare itinerare added the needs review Pull requests that are pending community review label Apr 14, 2024
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Apr 17, 2024
@itinerare itinerare merged commit c1b67da into corowne:develop Apr 17, 2024
2 checks passed
@SpeedyD SpeedyD deleted the fix/auth-sweep branch May 2, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants