Backport all fixes from the master to 1.1

This commit is contained in:
Graham Campbell
2015-08-03 14:23:46 +01:00
parent 5bdbc87bf2
commit 90baf18724
7 changed files with 109 additions and 24 deletions
+3 -2
View File
@@ -25,8 +25,9 @@ class ComponentPresenter extends AbstractPresenter
public function toArray()
{
return array_merge($this->wrappedObject->toArray(), [
'created_at' => $this->created_at(),
'updated_at' => $this->updated_at(),
'created_at' => $this->created_at(),
'updated_at' => $this->updated_at(),
'status_name' => $this->wrappedObject->humanStatus,
]);
}
}