Fixed PHPCS violations

This commit is contained in:
Peter Fabian 2018-03-26 11:00:28 +02:00
parent 26144afbc6
commit e19d64e51e
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class WC_Gateway_Paypal_Request {
// If URL is longer than 2,083 chars, ignore line items and send cart to Paypal as a single item.
// One item's name can only be 127 characters long, so the URL should not be longer than limit.
// URL character limit via:
// https://support.microsoft.com/en-us/help/208427/maximum-url-length-is-2-083-characters-in-internet-explorer
// https://support.microsoft.com/en-us/help/208427/maximum-url-length-is-2-083-characters-in-internet-explorer.
if ( strlen( $this->endpoint . $query_candidate ) <= $max_paypal_length ) {
return $paypal_args;
}