includes/admin/helper/class-wc-helper-plugin-info.php
Method plugins_api
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function plugins_api( $response, $action, $args ) {
if ( 'plugin_information' !== $action ) {
return $response;
}
Avoid too many return
statements within this method. Open
Open
return $response;