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

chore: use strict comparisons #527

Merged
merged 3 commits into from
Mar 5, 2024
Merged

chore: use strict comparisons #527

merged 3 commits into from
Mar 5, 2024

Conversation

millnut
Copy link
Member

@millnut millnut commented Mar 2, 2024

  • Changed in_array to use a strict comparison
  • Updated loose comparisons == to strict ===
  • Replaced the use of !empty with a more strict string comparison for has_X checks

@finnlewis finnlewis merged commit 1970903 into 1.x Mar 5, 2024
8 checks passed
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.

3 participants