Completed
Pull Request — master (#6033)
by Daniel
28:20 queued 15:48
created
Control/Controller.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,6 +142,7 @@  discard block
 block discarded – undo
142 142
 	 * {@inheritdoc}
143 143
 	 *
144 144
 	 * Also set the URLParams
145
+	 * @param HTTPRequest $request
145 146
 	 */
146 147
 	public function setRequest($request) {
147 148
 		$return = parent::setRequest($request);
@@ -167,6 +168,7 @@  discard block
 block discarded – undo
167 168
 
168 169
 	/**
169 170
 	 * Cleanup for the handleRequest method
171
+	 * @param HTTPResponse $response
170 172
 	 */
171 173
 	protected function afterHandleRequest($response) {
172 174
 	    parent::afterHandleRequest($response);
@@ -500,7 +502,7 @@  discard block
 block discarded – undo
500 502
 	 *
501 503
 	 * @param array $params
502 504
 	 *
503
-	 * @return string
505
+	 * @return DBHTMLText
504 506
 	 */
505 507
 	public function render($params = null) {
506 508
 		$template = $this->getViewer($this->getAction());
@@ -663,7 +665,7 @@  discard block
 block discarded – undo
663 665
 	 * Tests whether a redirection has been requested. If redirect() has been called, it will return
664 666
 	 * the URL redirected to. Otherwise, it will return null.
665 667
 	 *
666
-	 * @return null|string
668
+	 * @return boolean
667 669
 	 */
668 670
 	public function redirectedTo() {
669 671
 		return $this->getResponse() && $this->getResponse()->getHeader('Location');
Please login to merge, or discard this patch.