Completed
Pull Request — master (#627)
by Stig
05:46 queued 02:31
created
code/control/DeployDispatcher.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -144,13 +144,13 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
code/control/GitDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.