diff --git a/Account/Account.php b/Account/Account.php index e1da4f6db..5ed5beeef 100644 --- a/Account/Account.php +++ b/Account/Account.php @@ -246,7 +246,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * The method accepts an array of permissions. All existing permissions are replaced. * - * @param PermissionAbstract[] $permissions + * @param PermissionAbstract[] $permissions Account permissions * * @return void * @@ -306,13 +306,13 @@ class Account implements ArrayableInterface, \JsonSerializable * * Checks if the account has a permission defined * - * @param int $permission Permission to check - * @param int $unit Unit Unit to check (null if all are acceptable) - * @param string $app App App to check (null if all are acceptable) - * @param int $module Module Module to check (null if all are acceptable) - * @param int $type Type (e.g. customer) (null if all are acceptable) - * @param int $element (e.g. customer id) (null if all are acceptable) - * @param int $component (e.g. address) (null if all are acceptable) + * @param int $permission Permission to check + * @param int $unit Unit Unit to check (null if all are acceptable) + * @param string $app App App to check (null if all are acceptable) + * @param int $module Module Module to check (null if all are acceptable) + * @param int $type Type (e.g. customer) (null if all are acceptable) + * @param int $element (e.g. customer id) (null if all are acceptable) + * @param int $component (e.g. address) (null if all are acceptable) * * @return bool Returns true if the account has the permission, false otherwise * diff --git a/Account/AccountManager.php b/Account/AccountManager.php index 536078340..844dc22dc 100644 --- a/Account/AccountManager.php +++ b/Account/AccountManager.php @@ -49,7 +49,7 @@ class AccountManager implements \Countable /** * Constructor. * - * @param SessionInterface $session Session + * @param SessionInterface $session Session * * @since 1.0.0 */ diff --git a/ApplicationAbstract.php b/ApplicationAbstract.php index 244d5e203..51f91988c 100644 --- a/ApplicationAbstract.php +++ b/ApplicationAbstract.php @@ -150,7 +150,7 @@ class ApplicationAbstract /** * Set values * - * @param string $name Variable name + * @param string $name Variable name * @param string $value Variable value * * @return void diff --git a/Auth/Auth.php b/Auth/Auth.php index fe67ba84f..b029f1e50 100644 --- a/Auth/Auth.php +++ b/Auth/Auth.php @@ -41,7 +41,7 @@ class Auth /** * Authenticates user. * - * @param SessionInterface $session Session + * @param SessionInterface $session Session * * @return int * @@ -57,7 +57,7 @@ class Auth /** * Logout the given user. * - * @param SessionInterface $session Session + * @param SessionInterface $session Session * * @return void * diff --git a/AutoloadException.php b/AutoloadException.php index 0ac5c7203..e32b25e45 100644 --- a/AutoloadException.php +++ b/AutoloadException.php @@ -29,8 +29,8 @@ class AutoloadException extends \RuntimeException /** * Constructor. * - * @param string $message Exception message - * @param int $code Exception code + * @param string $message Exception message + * @param int $code Exception code * @param \Exception $previous Previous exception * * @since 1.0.0 diff --git a/Math/Statistic/Forecast/Error.php b/Math/Statistic/Forecast/Error.php index d963e0efd..238cafb28 100644 --- a/Math/Statistic/Forecast/Error.php +++ b/Math/Statistic/Forecast/Error.php @@ -198,9 +198,9 @@ class Error /** * Get R Bar Squared * - * @param float $R R - * @param int $observations Amount of observations - * @param int $predictors Amount of predictors + * @param float $R R + * @param int $observations Amount of observations + * @param int $predictors Amount of predictors * * @return float * @@ -214,9 +214,9 @@ class Error /** * Get Aike's information criterion (AIC) * - * @param float $sse SSE - * @param int $observations Amount of observations - * @param int $predictors Amount of predictors + * @param float $sse SSE + * @param int $observations Amount of observations + * @param int $predictors Amount of predictors * * @return float * @@ -232,9 +232,9 @@ class Error * * Correction for small amount of observations * - * @param float $aic AIC - * @param int $observations Amount of observations - * @param int $predictors Amount of predictors + * @param float $aic AIC + * @param int $observations Amount of observations + * @param int $predictors Amount of predictors * * @return float * @@ -248,9 +248,9 @@ class Error /** * Get Bayesian information criterion (BIC) * - * @param float $sse SSE - * @param int $observations Amount of observations - * @param int $predictors Amount of predictors + * @param float $sse SSE + * @param int $observations Amount of observations + * @param int $predictors Amount of predictors * * @return float * diff --git a/Router/Router.php b/Router/Router.php index e4908361a..33c578050 100644 --- a/Router/Router.php +++ b/Router/Router.php @@ -92,7 +92,7 @@ class Router * Route request. * * @param string|RequestAbstract $request Request to route - * @param int $verb Route verb + * @param int $verb Route verb * * @return array[] * diff --git a/Utils/StringCompare.php b/Utils/StringCompare.php index 9cc81d65d..0a62dcb0b 100644 --- a/Utils/StringCompare.php +++ b/Utils/StringCompare.php @@ -156,13 +156,13 @@ class StringCompare /** * Calculate fuzzy match score. * - * @param string $s1 Word 1 - * @param string $s2 Word 2 - * @param float $phraseWeight Weighting for phrase score - * @param float $wordWeight Weighting for word score - * @param float $minWeight Min weight - * @param float $maxWeight Max weight - * @param float $lengthWeight Weighting for word length + * @param string $s1 Word 1 + * @param string $s2 Word 2 + * @param float $phraseWeight Weighting for phrase score + * @param float $wordWeight Weighting for word score + * @param float $minWeight Min weight + * @param float $maxWeight Max weight + * @param float $lengthWeight Weighting for word length * * @return float * diff --git a/Utils/TestUtils.php b/Utils/TestUtils.php index 797887cb7..f7ca982ea 100644 --- a/Utils/TestUtils.php +++ b/Utils/TestUtils.php @@ -29,9 +29,9 @@ class TestUtils /** * Set private object member * - * @param object|string $obj Object to modify - * @param string $name Member name to modify - * @param mixed $value Value to set + * @param object|string $obj Object to modify + * @param string $name Member name to modify + * @param mixed $value Value to set * * @return bool The function returns true after setting the member * @@ -63,8 +63,8 @@ class TestUtils /** * Get private object member * - * @param object|string $obj Object to read - * @param string $name Member name to read + * @param object|string $obj Object to read + * @param string $name Member name to read * * @return mixed Returns the member variable value * diff --git a/Validation/ModelValidationTrait.php b/Validation/ModelValidationTrait.php index e7c6c7e87..b5a1305b8 100644 --- a/Validation/ModelValidationTrait.php +++ b/Validation/ModelValidationTrait.php @@ -31,6 +31,8 @@ trait ModelValidationTrait * * @param mixed $var Variable to set * @param string $name Name of the variable + * + * @return void * * @throws \Exception * diff --git a/Views/View.php b/Views/View.php index 53d83f715..5ca9433ed 100644 --- a/Views/View.php +++ b/Views/View.php @@ -161,7 +161,7 @@ class View extends ViewAbstract /** * Get translation. * - * @param mixed $translation Text + * @param mixed $translation Text * @param string $module Module name * @param string $theme Theme name * @@ -204,7 +204,7 @@ class View extends ViewAbstract /** * Get translation. * - * @param mixed $translation Text + * @param mixed $translation Text * @param string $module Module name * @param string $theme Theme name *