Browse Source

Fix incorrect return type.

mark_story 14 years ago
parent
commit
aa85451159
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Network/CakeRequest.php

+ 1 - 1
lib/Cake/Network/CakeRequest.php

@@ -615,7 +615,7 @@ class CakeRequest implements ArrayAccess {
 /**
  * Get the host that the request was handled on.
  *
- * @return void
+ * @return string
  */
 	public function host() {
 		return env('HTTP_HOST');