Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

views/json/resources/livesearch/friends.php (1 issue)

1
<?php
2
3
set_input('friends_only', true);
0 ignored issues
show
true of type true is incompatible with the type string|string[] expected by parameter $value of set_input(). ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

3
set_input('friends_only', /** @scrutinizer ignore-type */ true);
Loading history...
4
5
echo elgg_view('resources/livesearch/users', $vars);