includes/admin/settings/class-wc-settings-general.php
Method get_settings
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_settings() {
$currency_code_options = get_woocommerce_currencies();
foreach ( $currency_code_options as $code => $name ) {
File class-wc-settings-general.php
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* WooCommerce General Settings
*
* @package WooCommerce\Admin