for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* RoboKassa driver for Omnipay PHP payment library.
*
* @link https://github.com/hiqdev/omnipay-robokassa
* @package omnipay-robokassa
* @license MIT
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\RoboKassa\Message;
* RoboKassa 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);
* @return string
public function getClient()
return $this->getParameter('client');
* @param $value
* @return \Omnipay\Common\Message\AbstractRequest
public function setClient($value)
return $this->setParameter('client', $value);
* Get the secret key.
* @return string secret key
public function getSecretKey()
return $this->getParameter('secretKey');
* Set the secret key.
* @param string $key secret key
$key
public function setSecretKey($value)
return $this->setParameter('secretKey', $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.