for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace EmailLog\Core;
use EmailLog\Util;
/**
* Class AdvancedSearch
* @package EmailLog\Core
*
* @since 2.3.0
*/
class AdvancedSearch implements Loadie {
public function load() {
add_action( 'el-log-list-adv-search', array( $this, 'handle_advanced_search' ) );
}
public function handle_advanced_search( $request ) {
// Nonce verification handled in {@see \EmailLog\Core\Request\NonceChecker::check_nonce()}
$to = Util\el_array_get( $request, 'to' );
$to
el_array_get
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$to = /** @scrutinizer ignore-call */ Util\el_array_get( $request, 'to' );