fannie/classlib2.0/item/StandardAccounting.php
Method extend
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function extend($code, $store_id)
{
if (strlen($code) != 5) {
return $code;
}
Avoid too many return
statements within this method. Open
Open
return self::perStoreCode($code, $store_id) . '-00';