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

[6.x] Improve formatPostGisType method readability #30593

Merged
merged 2 commits into from Nov 15, 2019
Merged

[6.x] Improve formatPostGisType method readability #30593

merged 2 commits into from Nov 15, 2019

Conversation

antonkomarev
Copy link
Contributor

Follow-up to the PR #30545

It's hard to read the code because too many parenthesis and alternation of different quotes. This PR replaces it with sptrinf method and breaks down inline ternary operator.

@taylorotwell taylorotwell merged commit b12f4be into laravel:6.x Nov 15, 2019
@antonkomarev antonkomarev deleted the refactor/improve-readability branch November 15, 2019 16:32
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.

None yet

4 participants