Completed
Pull Request — master (#625)
by Sean
03:33
created
code/control/DeployDispatcher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,14 +59,14 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.