@@ -59,14 +59,14 @@ |
||
59 | 59 | $data = []; |
60 | 60 | $list = $this->DeployHistory(); |
61 | 61 | $page = $request->getVar('page') ?: 1; |
62 | - $start = ($page-1) * $list->getPageLength(); |
|
62 | + $start = ($page - 1) * $list->getPageLength(); |
|
63 | 63 | |
64 | 64 | $list->setPageStart($start); |
65 | - if (empty($list)) { |
|
65 | + if(empty($list)) { |
|
66 | 66 | return $this->getAPIResponse(['message' => 'No deploy history'], 404); |
67 | 67 | } |
68 | 68 | |
69 | - foreach ($list as $deployment) { |
|
69 | + foreach($list as $deployment) { |
|
70 | 70 | $data[] = [ |
71 | 71 | 'CreatedDate' => $deployment->Created, |
72 | 72 | 'Branch' => $deployment->Branch, |