Browse files

Return void is just stupid

  • Loading branch information...
1 parent bd8fee6 commit d83e4e9079f963de675db5a362ceec7b710be0b5 @tijsverkoyen tijsverkoyen committed Jul 17, 2013
View
2 core/ajax/bug.php
@@ -13,8 +13,6 @@ class AjaxCoreBug extends AjaxBaseAction
{
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
View
2 core/ajax/search.php
@@ -13,8 +13,6 @@ class AjaxCoreSearch extends AjaxBaseAction
{
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
View
12 core/classes/action.php
@@ -60,8 +60,6 @@ public function __construct($action, $module)
/**
* Execute the action
* We will build the class name, require the class and call the execute method.
- *
- * @return void
*/
public function execute()
{
@@ -119,7 +117,6 @@ public function getModule()
* Set the action
*
* @param string $action The action.
- * @return void
*/
private function setAction($action)
{
@@ -130,7 +127,6 @@ private function setAction($action)
* Set the module
*
* @param string $module The module.
- * @return void
*/
private function setModule($module)
{
@@ -230,7 +226,6 @@ public function __construct()
* If no template is specified we build the path form the current module and action
*
* @param string[optional] $template The template to display.
- * @return void
*/
public function display($template = null)
{
@@ -248,8 +243,6 @@ public function display($template = null)
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -277,8 +270,6 @@ public function getModule()
/**
* Parse reports
- *
- * @return void
*/
public function parseReports()
{
@@ -333,7 +324,6 @@ public function parseReports()
*
* @param string $url The URL to redirect to.
* @param int[optional] $code The redirect code, default is 302 (found), other possibilities are: 301 (permanent), 302 (found).
- * @return void
*/
public function redirect($url, $code = 302)
{
@@ -344,7 +334,6 @@ public function redirect($url, $code = 302)
* Set the action, for later use
*
* @param string $action The action.
- * @return void
*/
private function setAction($action)
{
@@ -355,7 +344,6 @@ private function setAction($action)
* Set the module, for later use
*
* @param string $module The module.
- * @return void
*/
private function setModule($module)
{
View
5 core/classes/ajax_action.php
@@ -115,7 +115,6 @@ public function getModule()
* Set the action
*
* @param string $action The action.
- * @return void
*/
private function setAction($action)
{
@@ -126,7 +125,6 @@ private function setAction($action)
* Set the module
*
* @param string $module The module.
- * @return void
*/
private function setModule($module)
{
@@ -154,8 +152,6 @@ class AjaxBaseAction
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -167,7 +163,6 @@ public function execute()
* @param int $statusCode The status code for the response, use the available constants. (self::OK, self::BAD_REQUEST, self::FORBIDDEN, self::ERROR).
* @param mixed[optional] $data The data to output.
* @param string[optional] $message The text-message to send.
- * @return void
*/
public function output($statusCode, $data = null, $message = null)
{
View
2 core/classes/authentication.php
@@ -98,8 +98,6 @@ public static function login(User $user)
/**
* Log out the user
- *
- * @return void
*/
public static function logout()
{
View
1 core/classes/datagrid.php
@@ -159,7 +159,6 @@ public function getContent()
* Defines the default URL.
*
* @param string $URL The URL to use.
- * @return void
*/
public function setURL($URL)
{
View
1 core/classes/locale.php
@@ -146,7 +146,6 @@ public static function msg($key)
* Set the locale
*
* @param string $language The language.
- * @return void
*/
public static function setLocale($language)
{
View
11 core/classes/template.php
@@ -63,7 +63,6 @@ public function __construct()
* Add a css-file
*
* @param string $url The url of the css-file.
- * @return void
*/
public function addCssFile($url)
{
@@ -94,7 +93,6 @@ public function addJavascriptData($module, $key, $value)
* Add a javascript file
*
* @param string $url The url of the js-file.
- * @return void
*/
public function addJavascriptFile($url)
{
@@ -117,7 +115,6 @@ public function addJavascriptFile($url)
* Will also assign the interface labels and all user-defined constants.
*
* @param string $template The template to display.
- * @return void
*/
public function display($template)
{
@@ -145,8 +142,6 @@ public function display($template)
/**
* Map the fork-specific modifiers
- *
- * @return void
*/
private function mapCustomModifiers()
{
@@ -163,8 +158,6 @@ private function mapCustomModifiers()
/**
* Parse all user-defined constants
- *
- * @return void
*/
private function parseConstants()
{
@@ -206,8 +199,6 @@ private function parseConstants()
/**
* Parse the external loaded files into the header
- *
- * @return void
*/
private function parseExternalFiles()
{
@@ -255,8 +246,6 @@ private function parseJavascriptData()
/**
* Parse the locale
- *
- * @return void
*/
private function parseLocale()
{
View
1 init.php
@@ -66,7 +66,6 @@ public function __construct()
* AutoLoader
*
* @param string $class The class that should be loaded.
- * @return void
*/
public static function autoLoader($class)
{
View
6 modules/users/actions/add.php
@@ -21,8 +21,6 @@ class UsersAdd extends SiteBaseAction
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -40,8 +38,6 @@ public function execute()
/**
* Load the form
- *
- * @return void
*/
private function loadForm()
{
@@ -57,8 +53,6 @@ private function loadForm()
/**
* Validate the form
- *
- * @return void
*/
private function validateForm()
{
View
6 modules/users/actions/edit.php
@@ -37,8 +37,6 @@ class UsersEdit extends SiteBaseAction
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -75,8 +73,6 @@ public function execute()
/**
* Load the form
- *
- * @return void
*/
private function loadForm()
{
@@ -110,8 +106,6 @@ private function parse()
/**
* Validate the form
- *
- * @return void
*/
private function validateForm()
{
View
4 modules/users/actions/index.php
@@ -13,8 +13,6 @@ class UsersIndex extends SiteBaseAction
{
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -25,8 +23,6 @@ public function execute()
/**
* Parse
- *
- * @return void
*/
private function parse()
{
View
6 modules/users/actions/login.php
@@ -21,8 +21,6 @@ class UsersLogin extends SiteBaseAction
/**
* Execute the action
- *
- * @return void
*/
public function execute()
{
@@ -49,8 +47,6 @@ public function execute()
/**
* Load the form
- *
- * @return void
*/
private function loadForm()
{
@@ -64,8 +60,6 @@ private function loadForm()
/**
* Validate the form
- *
- * @return void
*/
private function validateForm()
{
View
1 modules/users/model/model.php
@@ -208,7 +208,6 @@ public function save()
*
* @param string $key The key whereunder the value will be stored.
* @param mixed $value The value to store.
- * @return void
*/
public function setSetting($key, $value)
{

0 comments on commit d83e4e9

Please sign in to comment.