for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Netdudes\DataSourceryBundle\Query;
use Netdudes\DataSourceryBundle\Query\Exception\MethodNotAllowedException;
class InvalidFilter extends Filter
{
/**
* A code to identify the reason the filter is invalid
*
* @var int
*/
protected $code = 0;
* A user-readable message describing the reason the filter is invalid
* @var string
protected $message;
* @return int
public function getCode()
return $this->code;
}
* @param int $code
public function setCode($code)
$this->code = $code;
* @return string
public function getMessage()
return $this->message;
* @param string $message
public function setMessage($message)
$this->message = $message;
* @param array $message
public function __construct($message, $code = 0)
$message
array
string
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
* @param $index
* @param $value
* @throws MethodNotAllowedException
public function addAtIndex($index, $value)
throw new MethodNotAllowedException(__CLASS__, __METHOD__, "Invalid filters must be empty");
* @param mixed $offset
* @param mixed $value
public function offsetSet($offset, $value)
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..