Showing 188 of 604 total issues
Avoid too many return
statements within this method. Open
Open
return $value;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $this->getExampleType($context);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck($keyItems)->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_SWAGGER_ERROR, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return urlencode($value);
Avoid too many return
statements within this method. Open
Open
return $context->setDataValue(array($context->getDataValue()));
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck($keyType)->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATATYPE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('maxLength')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATASIZE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $this->generateRandowSign();
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return $context->setDataValue(explode(',', $context->getDataValue()));
Avoid too many return
statements within this method. Open
Open
return $this->$keyItems->validate($context, $context->getDataValue());
Avoid too many return
statements within this method. Open
Open
return $this->formatModel($context, $this->getExampleType($context));
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck($keyMinItems)->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATASIZE, 'Value has not enough items', __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck($keyMaxItems)->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATASIZE, 'Value has too many items', __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('minLength')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATASIZE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_SWAGGER_ERROR, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return 'http://localhost/path/script.php?query#fragment';
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck($keyUniqueItems)->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATAVALUE, 'Value has not only uniq items', __METHOD__, __LINE__);