fannie/classlib2.0/data/models/op/VendorItemsModel.php
Method createIfMissing
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createIfMissing($upc, $vendorID)
{
$aliasP = $this->connection->prepare("SELECT upc FROM VendorAliases WHERE vendorID=? AND upc=?");
$aliased = $this->connection->getValue($aliasP, array($vendorID, $upc));
if ($aliased) {
Method doc
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function doc()
{
return '
Depends on:
* vendors (table)