handle array callbacks
fix call and php-cs-fix