$this->updated = isset($data['updated']) ? $data['updated'] : null;
}
- public function toArray($data)
+ public function toArray()
{
return array(
'id' => $this->id,
'name' => $this->name,
'description' => $this->description,
'created' => $this->created,
- 'updated' => $this->updated,
+ 'updated' => $this->updated,
);
}