code fixes

This commit is contained in:
Dennis Eichhorn 2018-02-16 13:34:41 +01:00
parent aae3cc3a06
commit e1ef45da2a
11 changed files with 43 additions and 41 deletions

View File

@ -246,7 +246,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* *
* The method accepts an array of permissions. All existing permissions are replaced. * The method accepts an array of permissions. All existing permissions are replaced.
* *
* @param PermissionAbstract[] $permissions * @param PermissionAbstract[] $permissions Account permissions
* *
* @return void * @return void
* *
@ -306,13 +306,13 @@ class Account implements ArrayableInterface, \JsonSerializable
* *
* Checks if the account has a permission defined * Checks if the account has a permission defined
* *
* @param int $permission Permission to check * @param int $permission Permission to check
* @param int $unit Unit Unit to check (null if all are acceptable) * @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 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 $module Module Module to check (null if all are acceptable)
* @param int $type Type (e.g. customer) (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 $element (e.g. customer id) (null if all are acceptable)
* @param int $component (e.g. address) (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 * @return bool Returns true if the account has the permission, false otherwise
* *

View File

@ -49,7 +49,7 @@ class AccountManager implements \Countable
/** /**
* Constructor. * Constructor.
* *
* @param SessionInterface $session Session * @param SessionInterface $session Session
* *
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -150,7 +150,7 @@ class ApplicationAbstract
/** /**
* Set values * Set values
* *
* @param string $name Variable name * @param string $name Variable name
* @param string $value Variable value * @param string $value Variable value
* *
* @return void * @return void

View File

@ -41,7 +41,7 @@ class Auth
/** /**
* Authenticates user. * Authenticates user.
* *
* @param SessionInterface $session Session * @param SessionInterface $session Session
* *
* @return int * @return int
* *
@ -57,7 +57,7 @@ class Auth
/** /**
* Logout the given user. * Logout the given user.
* *
* @param SessionInterface $session Session * @param SessionInterface $session Session
* *
* @return void * @return void
* *

View File

@ -29,8 +29,8 @@ class AutoloadException extends \RuntimeException
/** /**
* Constructor. * Constructor.
* *
* @param string $message Exception message * @param string $message Exception message
* @param int $code Exception code * @param int $code Exception code
* @param \Exception $previous Previous exception * @param \Exception $previous Previous exception
* *
* @since 1.0.0 * @since 1.0.0

View File

@ -198,9 +198,9 @@ class Error
/** /**
* Get R Bar Squared * Get R Bar Squared
* *
* @param float $R R * @param float $R R
* @param int $observations Amount of observations * @param int $observations Amount of observations
* @param int $predictors Amount of predictors * @param int $predictors Amount of predictors
* *
* @return float * @return float
* *
@ -214,9 +214,9 @@ class Error
/** /**
* Get Aike's information criterion (AIC) * Get Aike's information criterion (AIC)
* *
* @param float $sse SSE * @param float $sse SSE
* @param int $observations Amount of observations * @param int $observations Amount of observations
* @param int $predictors Amount of predictors * @param int $predictors Amount of predictors
* *
* @return float * @return float
* *
@ -232,9 +232,9 @@ class Error
* *
* Correction for small amount of observations * Correction for small amount of observations
* *
* @param float $aic AIC * @param float $aic AIC
* @param int $observations Amount of observations * @param int $observations Amount of observations
* @param int $predictors Amount of predictors * @param int $predictors Amount of predictors
* *
* @return float * @return float
* *
@ -248,9 +248,9 @@ class Error
/** /**
* Get Bayesian information criterion (BIC) * Get Bayesian information criterion (BIC)
* *
* @param float $sse SSE * @param float $sse SSE
* @param int $observations Amount of observations * @param int $observations Amount of observations
* @param int $predictors Amount of predictors * @param int $predictors Amount of predictors
* *
* @return float * @return float
* *

View File

@ -92,7 +92,7 @@ class Router
* Route request. * Route request.
* *
* @param string|RequestAbstract $request Request to route * @param string|RequestAbstract $request Request to route
* @param int $verb Route verb * @param int $verb Route verb
* *
* @return array[] * @return array[]
* *

View File

@ -156,13 +156,13 @@ class StringCompare
/** /**
* Calculate fuzzy match score. * Calculate fuzzy match score.
* *
* @param string $s1 Word 1 * @param string $s1 Word 1
* @param string $s2 Word 2 * @param string $s2 Word 2
* @param float $phraseWeight Weighting for phrase score * @param float $phraseWeight Weighting for phrase score
* @param float $wordWeight Weighting for word score * @param float $wordWeight Weighting for word score
* @param float $minWeight Min weight * @param float $minWeight Min weight
* @param float $maxWeight Max weight * @param float $maxWeight Max weight
* @param float $lengthWeight Weighting for word length * @param float $lengthWeight Weighting for word length
* *
* @return float * @return float
* *

View File

@ -29,9 +29,9 @@ class TestUtils
/** /**
* Set private object member * Set private object member
* *
* @param object|string $obj Object to modify * @param object|string $obj Object to modify
* @param string $name Member name to modify * @param string $name Member name to modify
* @param mixed $value Value to set * @param mixed $value Value to set
* *
* @return bool The function returns true after setting the member * @return bool The function returns true after setting the member
* *
@ -63,8 +63,8 @@ class TestUtils
/** /**
* Get private object member * Get private object member
* *
* @param object|string $obj Object to read * @param object|string $obj Object to read
* @param string $name Member name to read * @param string $name Member name to read
* *
* @return mixed Returns the member variable value * @return mixed Returns the member variable value
* *

View File

@ -31,6 +31,8 @@ trait ModelValidationTrait
* *
* @param mixed $var Variable to set * @param mixed $var Variable to set
* @param string $name Name of the variable * @param string $name Name of the variable
*
* @return void
* *
* @throws \Exception * @throws \Exception
* *

View File

@ -161,7 +161,7 @@ class View extends ViewAbstract
/** /**
* Get translation. * Get translation.
* *
* @param mixed $translation Text * @param mixed $translation Text
* @param string $module Module name * @param string $module Module name
* @param string $theme Theme name * @param string $theme Theme name
* *
@ -204,7 +204,7 @@ class View extends ViewAbstract
/** /**
* Get translation. * Get translation.
* *
* @param mixed $translation Text * @param mixed $translation Text
* @param string $module Module name * @param string $module Module name
* @param string $theme Theme name * @param string $theme Theme name
* *