Child pages
  • [in-commerce] The "break" statement outside cycle in "ShippingQuoteCollector" class [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

During some old refactoring (when code from moved out of the cycle) the "break" statement was left in "ShippingQuoteCollector::GetShippingQuotes" method. This code is never executed, but it creates problems for recent PhpStorm versions (9+), that doesn't even try to check this file for code style issues.

Solution

Need to figure out original purpose of the code and fix it.

Related Tasks