@@ -144,13 +144,13 @@ |
||
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
147 | - * Action - Get the latest deploy log |
|
148 | - * |
|
149 | - * @param SS_HTTPRequest $request |
|
150 | - * |
|
151 | - * @return string |
|
152 | - * @throws SS_HTTPResponse_Exception |
|
153 | - */ |
|
147 | + * Action - Get the latest deploy log |
|
148 | + * |
|
149 | + * @param SS_HTTPRequest $request |
|
150 | + * |
|
151 | + * @return string |
|
152 | + * @throws SS_HTTPResponse_Exception |
|
153 | + */ |
|
154 | 154 | public function log(SS_HTTPRequest $request) { |
155 | 155 | $params = $request->params(); |
156 | 156 | $deployment = DNDeployment::get()->byId($params['ID']); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param \SS_HTTPRequest $request |
56 | 56 | * |
57 | - * @return \HTMLText|\SS_HTTPResponse |
|
57 | + * @return SS_HTTPResponse|null |
|
58 | 58 | */ |
59 | 59 | public function index(\SS_HTTPRequest $request) { |
60 | 60 | return $this->redirect(\Controller::join_links($this->Link(), 'history'), 302); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * |
150 | 150 | * @param SS_HTTPRequest $request |
151 | 151 | * |
152 | - * @return string |
|
152 | + * @return SS_HTTPResponse|null |
|
153 | 153 | * @throws SS_HTTPResponse_Exception |
154 | 154 | */ |
155 | 155 | public function log(SS_HTTPRequest $request) { |
@@ -154,7 +154,7 @@ |
||
154 | 154 | $fetch->write(); |
155 | 155 | $fetch->start(); |
156 | 156 | |
157 | - $location = Director::absoluteBaseURL() . $this->Link() . '/update/' . $fetch->ID; |
|
157 | + $location = Director::absoluteBaseURL().$this->Link().'/update/'.$fetch->ID; |
|
158 | 158 | $output = array( |
159 | 159 | 'message' => 'git fetch has been queued', |
160 | 160 | 'ID' => $fetch->ID, |