for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SeoFood\AmazonRevenue;
class Item
{
/**
* @var string
*/
private $_asin;
private $_eDate;
private $_type;
* @var float
private $_price;
private $_commission;
private $_name;
* @var int
private $_quantity;
* @var DateTime
private $_date;
* @param float $commission
public function setCommission($commission)
$this->_commission = $commission;
}
* @return float
public function getCommission()
return $this->_commission;
* @param \DateTime $date
public function setDate($date)
$this->_date = $date;
$date
object<DateTime>
object<SeoFood\AmazonRevenue\DateTime>
$_date
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..
* @return \DateTime
public function getDate()
return $this->_date;
* @param string $eDate
public function setEDate($eDate)
$this->_eDate = $eDate;
* @return string
public function getEDate()
return $this->_eDate;
* @param string $name
public function setName($name)
$this->_name = $name;
public function getName()
return $this->_name;
* @param float $price
public function setPrice($price)
$this->_price = $price;
public function getPrice()
return $this->_price;
* @param int $quantity
public function setQuantity($quantity)
$this->_quantity = $quantity;
* @return int
public function getQuantity()
return $this->_quantity;
* @param string $type
public function setType($type)
$this->_type = $type;
public function getType()
return $this->_type;
* @param string $asin
public function setAsin($asin)
$this->_asin = $asin;
public function getAsin()
return $this->_asin;
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..