for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
Checks if the types of the passed arguments in a function/method call are compatible.
<?php
set_input('friends_only', true);
true
string|string[]
$value
set_input()
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
set_input('friends_only', /** @scrutinizer ignore-type */ true);
echo elgg_view('resources/livesearch/users', $vars);