make class greater

This commit is contained in:
Igor Barkov [iwork]
2019-01-14 16:40:12 +02:00
parent 77081db3a7
commit e7f8d99ac2
3 changed files with 1 additions and 13 deletions
-9
View File
@@ -2,15 +2,6 @@
class ShopItem extends Item
{
private $cost;
private $count;
public function __construct($row)
{
parent::__construct($row);
$this->cost = $row['cost'];
$this->count = $row['count'];
}
public function printInfo()
{