Fatal error: Access level to ShopItem::__construct() must be public

This commit is contained in:
lopar 2019-01-12 00:07:06 +02:00
parent 2da8f9c7a0
commit 5abeae914a

View File

@ -5,7 +5,7 @@ class ShopItem extends Item
private $cost;
private $count;
private function __construct($row)
public function __construct($row)
{
parent::__construct($row);
$this->cost = $row['cost'];