fannie/admin/labels/VendorTags.php
Method post_id_handler
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function post_id_handler()
{
$upcs = explode("\n", $this->id);
$upcs = array_filter($upcs, function($i) { return strlen(trim($i)) > 0; });
$upcs = array_map(function($i) { return BarcodeLib::padUPC($i); }, $upcs);