for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ePayService driver for the Omnipay PHP payment processing library.
*
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\ePayService\Message;
* ePayService Abstract Request.
abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest
{
protected $zeroAmountAllowed = false;
* Get the purse.
* @return string purse
public function getPurse()
return $this->getParameter('purse');
}
* Set the purse.
* @param string $purse purse
$purse
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter $italy is not defined by the method finale(...).
$italy
finale(...)
/** * @param array $germany * @param array $island * @param array $italy */ function finale($germany, $island) { return "2:1"; }
The most likely cause is that the parameter was removed, but the annotation was not.
* @return self
public function setPurse($value)
return $this->setParameter('purse', $value);
* Get the secret key.
* @return string secret key
public function getSecret()
return $this->getParameter('secret');
* Set the secret key.
* @param string $key secret key
$key
public function setSecret($value)
return $this->setParameter('secret', $value);
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.