Skip to content
Snippets Groups Projects
Unverified Commit 717c33f4 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix implicit array-to-boolean convertion

Scrutinizer:
The expression $result of type array is implicitly converted to a boolean; are you sure this is intended? If so, consider using empty($expr) instead to make it clear that you intend to check for an array without elements.
parent 8d4a2429
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment