| 1 | <?php |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $_asin; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $_eDate; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $_type; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var float |
||
| 24 | */ |
||
| 25 | private $_price; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var float |
||
| 29 | */ |
||
| 30 | private $_commission; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | private $_name; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var int |
||
| 39 | */ |
||
| 40 | private $_quantity; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var DateTime |
||
| 44 | */ |
||
| 45 | private $_date; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param float $commission |
||
| 49 | */ |
||
| 50 | public function setCommission($commission) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return float |
||
| 57 | */ |
||
| 58 | public function getCommission() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param \DateTime $date |
||
| 65 | */ |
||
| 66 | public function setDate($date) |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return \DateTime |
||
| 73 | */ |
||
| 74 | public function getDate() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param string $eDate |
||
| 81 | */ |
||
| 82 | public function setEDate($eDate) |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | public function getEDate() |
||
| 94 | |||
| 95 | /** |
||
| 96 | * @param string $name |
||
| 97 | */ |
||
| 98 | public function setName($name) |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @return string |
||
| 105 | */ |
||
| 106 | public function getName() |
||
| 110 | |||
| 111 | /** |
||
| 112 | * @param float $price |
||
| 113 | */ |
||
| 114 | public function setPrice($price) |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @return float |
||
| 121 | */ |
||
| 122 | public function getPrice() |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @param int $quantity |
||
| 129 | */ |
||
| 130 | public function setQuantity($quantity) |
||
| 134 | |||
| 135 | /** |
||
| 136 | * @return int |
||
| 137 | */ |
||
| 138 | public function getQuantity() |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @param string $type |
||
| 145 | */ |
||
| 146 | public function setType($type) |
||
| 150 | |||
| 151 | /** |
||
| 152 | * @return string |
||
| 153 | */ |
||
| 154 | public function getType() |
||
| 158 | |||
| 159 | /** |
||
| 160 | * @param string $asin |
||
| 161 | */ |
||
| 162 | public function setAsin($asin) |
||
| 166 | |||
| 167 | /** |
||
| 168 | * @return string |
||
| 169 | */ |
||
| 170 | public function getAsin() |
||
| 174 | } |
||
| 175 |
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..