Removed category()/tag() documentation changes

Adding "string" to the possible return types of category()/tag() didn't stop the scrutinizer from raising two new issues, so I've reverted that change. In future tags/categories may be split into separate controllers (it's cleaner that way), so these "issues" may serve as a reminder.

NOTE: This means that the documented return type for rss() is also wrong
This commit is contained in:
ksdhans 2016-06-14 18:20:03 +12:00 committed by GitHub
parent d42b3ca57c
commit ca7f09d0e0

View File

@ -826,7 +826,7 @@ class Blog_Controller extends Page_Controller
/** /**
* Renders the blog posts for a given tag. * Renders the blog posts for a given tag.
* *
* @return null|SS_HTTPResponse|string * @return null|SS_HTTPResponse
*/ */
public function tag() public function tag()
{ {
@ -870,7 +870,7 @@ class Blog_Controller extends Page_Controller
/** /**
* Renders the blog posts for a given category. * Renders the blog posts for a given category.
* *
* @return null|SS_HTTPResponse|string * @return null|SS_HTTPResponse
*/ */
public function category() public function category()
{ {