mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
fix phpcs errors
This commit is contained in:
parent
5ef77ef225
commit
a25cfe36b2
1 changed files with 4 additions and 4 deletions
|
@ -712,10 +712,10 @@ return array(
|
|||
'desc_tip' => true,
|
||||
'description' => __( 'If you use your PayPal account with more than one installation, please use a distinct prefix to separate those installations. Please do not use numbers in your prefix.', 'woocommerce-paypal-payments' ),
|
||||
'default' => ( static function (): string {
|
||||
$site_url = get_site_url(get_current_blog_id());
|
||||
$hash = md5($site_url);
|
||||
$letters = preg_replace('~\d~', '', $hash );
|
||||
return substr($letters, 0, 6) . '-';
|
||||
$site_url = get_site_url( get_current_blog_id() );
|
||||
$hash = md5( $site_url );
|
||||
$letters = preg_replace( '~\d~', '', $hash );
|
||||
return substr( $letters, 0, 6 ) . '-';
|
||||
} )(),
|
||||
'screens' => array(
|
||||
State::STATE_PROGRESSIVE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue