| @@ -46,7 +46,7 @@ | ||
| 46 | 46 | * | 
| 47 | 47 | * @param \SS_HTTPRequest $request | 
| 48 | 48 | * | 
| 49 | - * @return \HTMLText|\SS_HTTPResponse | |
| 49 | + * @return SS_HTTPResponse|null | |
| 50 | 50 | */ | 
| 51 | 51 |  	public function index(\SS_HTTPRequest $request) { | 
| 52 | 52 | return $this->redirect(\Controller::join_links($this->Link(), 'history'), 302); | 
| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | * | 
| 48 | 48 | * @param \SS_HTTPRequest $request | 
| 49 | 49 | * | 
| 50 | - * @return \HTMLText|\SS_HTTPResponse | |
| 50 | + * @return SS_HTTPResponse|null | |
| 51 | 51 | */ | 
| 52 | 52 |  	public function index(\SS_HTTPRequest $request) { | 
| 53 | 53 | return $this->redirect(\Controller::join_links($this->Link(), 'show'), 302); | 
| @@ -72,7 +72,7 @@ discard block | ||
| 72 | 72 | /** | 
| 73 | 73 | * @param SS_HTTPRequest $request | 
| 74 | 74 | * | 
| 75 | - * @return string | |
| 75 | + * @return SS_HTTPResponse | |
| 76 | 76 | */ | 
| 77 | 77 |  	public function show(\SS_HTTPRequest $request) { | 
| 78 | 78 | |
| @@ -166,7 +166,7 @@ discard block | ||
| 166 | 166 | } | 
| 167 | 167 | |
| 168 | 168 | /** | 
| 169 | - * @param $project | |
| 169 | + * @param DNProject $project | |
| 170 | 170 | * | 
| 171 | 171 | * @return array | 
| 172 | 172 | */ | 
| @@ -182,7 +182,7 @@ discard block | ||
| 182 | 182 | } | 
| 183 | 183 | |
| 184 | 184 | /** | 
| 185 | - * @param $project | |
| 185 | + * @param DNProject $project | |
| 186 | 186 | * | 
| 187 | 187 | * @return array | 
| 188 | 188 | */ | 
| @@ -198,7 +198,7 @@ discard block | ||
| 198 | 198 | } | 
| 199 | 199 | |
| 200 | 200 | /** | 
| 201 | - * @param $project | |
| 201 | + * @param DNProject $project | |
| 202 | 202 | * | 
| 203 | 203 | * @return array | 
| 204 | 204 | */ | 
| @@ -154,9 +154,9 @@ | ||
| 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 | - 'message' => 'Fetch queued as job ' . $fetch->ResqueToken, | |
| 159 | + 'message' => 'Fetch queued as job '.$fetch->ResqueToken, | |
| 160 | 160 | 'href' => $location, | 
| 161 | 161 | ); | 
| 162 | 162 | |