for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sanderdekroon\Parlant\Formatter;
class ArrayFormatter implements FormatterInterface
{
/**
* Return an array of \WP_Posts instances.
* @param array $arguments
* @return array
*/
public function output(array $arguments)
return get_posts($arguments);
get_posts
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return /** @scrutinizer ignore-call */ get_posts($arguments);
}