From 11c7b0e62697286e9663c594dbf931b22f222d7c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 16 Feb 2018 13:42:35 +0100 Subject: [PATCH] docblock param alignment --- Business/Finance/FinanceFormulas.php | 4 +- .../Forecasting/ClassicalDecomposition.php | 14 +-- Business/Programming/Metrics.php | 4 +- Business/Sales/MarketShareEstimation.php | 12 +-- DataStorage/Cache/CacheInterface.php | 2 +- DataStorage/Database/DataMapperAbstract.php | 98 +++++++++---------- .../InvalidConnectionConfigException.php | 4 +- .../InvalidDatabaseTypeException.php | 4 +- .../Exception/InvalidMapperException.php | 4 +- DataStorage/Database/Query/Builder.php | 34 +++---- .../Database/Query/Grammar/Grammar.php | 8 +- .../Schema/Exception/TableException.php | 4 +- DataStorage/LockException.php | 4 +- DataStorage/Session/HttpSession.php | 4 +- Event/EventManager.php | 12 +-- Localization/L11nManager.php | 10 +- Math/Exception/ZeroDevisionException.php | 4 +- Math/Functions/Functions.php | 4 +- Math/Geometry/Shape/D2/Polygon.php | 4 +- .../Exception/InvalidDimensionException.php | 4 +- Math/Statistic/Average.php | 18 ++-- Math/Statistic/Forecast/Forecasts.php | 4 +- Message/Http/Header.php | 6 +- Message/Mail/EmailAbstract.php | 14 +-- Message/Mail/Imap.php | 8 +- Message/Mail/Nntp.php | 8 +- Message/Mail/Pop3.php | 8 +- Model/Html/Head.php | 2 +- Module/Exception/InvalidModuleException.php | 4 +- Module/Exception/InvalidThemeException.php | 4 +- Module/InstallerAbstract.php | 18 ++-- Module/ModuleManager.php | 4 +- Module/PackageManager.php | 4 +- Module/StatusAbstract.php | 16 +-- Module/UninstallerAbstract.php | 4 +- Module/UpdaterAbstract.php | 4 +- Stdlib/Base/Enum.php | 2 +- Stdlib/Base/Exception/InvalidEnumName.php | 4 +- Stdlib/Base/Exception/InvalidEnumValue.php | 4 +- Stdlib/Graph/BinaryTree.php | 12 +-- Stdlib/Graph/Tree.php | 10 +- System/File/ContainerInterface.php | 26 ++--- System/File/FileInterface.php | 12 +-- System/File/Local/Directory.php | 2 +- System/File/PathException.php | 4 +- System/File/PermissionException.php | 4 +- System/File/Storage.php | 2 +- Uri/InvalidUriException.php | 4 +- Utils/ArrayUtils.php | 14 +-- Utils/Barcode/C128Abstract.php | 2 +- Utils/Barcode/C25.php | 4 +- Utils/ColorUtils.php | 2 +- Utils/Encoding/Huffman/Dictionary.php | 2 +- Utils/Git/Repository.php | 2 +- Utils/IO/Json/InvalidJsonException.php | 4 +- Utils/IO/Zip/ArchiveInterface.php | 8 +- Utils/TaskSchedule/TaskAbstract.php | 2 +- 57 files changed, 245 insertions(+), 245 deletions(-) diff --git a/Business/Finance/FinanceFormulas.php b/Business/Finance/FinanceFormulas.php index 8c45d0eed..2ddd4f08a 100644 --- a/Business/Finance/FinanceFormulas.php +++ b/Business/Finance/FinanceFormulas.php @@ -1380,7 +1380,7 @@ class FinanceFormulas /** * Relative market share by share * - * @param float $ownShare Own market share + * @param float $ownShare Own market share * @param float $competitorShare Largest competitor market share * * @return float @@ -1395,7 +1395,7 @@ class FinanceFormulas /** * Relative market share by sales * - * @param float $ownSales Own sales + * @param float $ownSales Own sales * @param float $competitorSales Largest competitor sales * * @return float diff --git a/Business/Finance/Forecasting/ClassicalDecomposition.php b/Business/Finance/Forecasting/ClassicalDecomposition.php index 5f84b8cde..797ef31e0 100644 --- a/Business/Finance/Forecasting/ClassicalDecomposition.php +++ b/Business/Finance/Forecasting/ClassicalDecomposition.php @@ -137,9 +137,9 @@ class ClassicalDecomposition /** * Calculate detrended series * - * @param array $data Data to analyze + * @param array $data Data to analyze * @param array $trendCycleComponent Trend cycle component - * @param int $mode Detrend mode + * @param int $mode Detrend mode * * @return array Detrended series / seasonal normalized data * @@ -163,7 +163,7 @@ class ClassicalDecomposition * * By using averaging methods some initial data get's incorporated into the average which reduces the data points. * - * @param int $dataSize Original data size + * @param int $dataSize Original data size * @param int $trendCycleComponents Trend cycle component size * * @return int New data start index @@ -181,7 +181,7 @@ class ClassicalDecomposition * Average of the detrended values for every month, quarter, day etc. * * @param array $detrendedSeries Detrended series - * @param int $order Seasonal period (e.g. 4 = quarterly, 12 = monthly, 7 = weekly pattern in daily data) + * @param int $order Seasonal period (e.g. 4 = quarterly, 12 = monthly, 7 = weekly pattern in daily data) * * @return array * @@ -208,10 +208,10 @@ class ClassicalDecomposition /** * Calculate the remainder component or error * - * @param array $data Raw data + * @param array $data Raw data * @param array $trendCycleComponent Trend cycle component - * @param array $seasonalComponent Seasonal component - * @param int $mode Detrend mode + * @param array $seasonalComponent Seasonal component + * @param int $mode Detrend mode * * @return array All remainders or absolute errors * diff --git a/Business/Programming/Metrics.php b/Business/Programming/Metrics.php index 07a58e4d6..c3b5cce72 100644 --- a/Business/Programming/Metrics.php +++ b/Business/Programming/Metrics.php @@ -49,8 +49,8 @@ class Metrics * * @latex r = com^{2} \times (1 - cov)^{3} + com * - * @param int $complexity Complexity - * @param float $coverage Coverage + * @param int $complexity Complexity + * @param float $coverage Coverage * * @return int * diff --git a/Business/Sales/MarketShareEstimation.php b/Business/Sales/MarketShareEstimation.php index 6643288d7..ddcf071d7 100644 --- a/Business/Sales/MarketShareEstimation.php +++ b/Business/Sales/MarketShareEstimation.php @@ -32,9 +32,9 @@ class MarketShareEstimation * * @latex r = \sqrt[s]{\frac{1}{m \times \sum_{n=1}^N{\frac{1}{n^{s}}}}} * - * @param int $participants The amount of existing participants in the market or compentitors (N) - * @param float $marketShare The absolute own market share (m) - * @param float $modifier Distribution modifier (s) + * @param int $participants The amount of existing participants in the market or compentitors (N) + * @param float $marketShare The absolute own market share (m) + * @param float $modifier Distribution modifier (s) * * @return int Returns the rank * @@ -55,9 +55,9 @@ class MarketShareEstimation * * @latex m = \frac{\frac{1}{r^{s}}}{\sum_{n=1}^N{\frac{1}{n^{s}}}} * - * @param int $participants The amount of existing participants in the market or compentitors (N) - * @param int $rank The absolute own rank in the market (r) - * @param float $modifier Distribution modifier (s) + * @param int $participants The amount of existing participants in the market or compentitors (N) + * @param int $rank The absolute own rank in the market (r) + * @param float $modifier Distribution modifier (s) * * @return float Returns the Market share * diff --git a/DataStorage/Cache/CacheInterface.php b/DataStorage/Cache/CacheInterface.php index f47499e37..9b05277f2 100644 --- a/DataStorage/Cache/CacheInterface.php +++ b/DataStorage/Cache/CacheInterface.php @@ -115,7 +115,7 @@ interface CacheInterface * * @param mixed $key Unique cache key * @param mixed $value Cache value - * @param int $expire Valid duration (in s) + * @param int $expire Valid duration (in s) * * @return bool * diff --git a/DataStorage/Database/DataMapperAbstract.php b/DataStorage/Database/DataMapperAbstract.php index 3a9669b49..50ed1dd6d 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -721,7 +721,7 @@ class DataMapperAbstract implements DataMapperInterface * The reference is stored in the main model * * @param string $propertyName Property name to initialize - * @param array $obj Object to create + * @param array $obj Object to create * * @return mixed * @@ -778,7 +778,7 @@ class DataMapperAbstract implements DataMapperInterface * The reference is stored in the main model * * @param string $propertyName Property name to initialize - * @param array $obj Object to create + * @param array $obj Object to create * * @return mixed * @@ -963,8 +963,8 @@ class DataMapperAbstract implements DataMapperInterface * * Deletes old entries and creates new ones * - * @param array $objsIds Object ids to insert - * @param mixed $objId Model to reference + * @param array $objsIds Object ids to insert + * @param mixed $objId Model to reference * * @return mixed * @@ -1073,7 +1073,7 @@ class DataMapperAbstract implements DataMapperInterface * Update object in db. * * @param Object $obj Model to update - * @param mixed $objId Model id + * @param mixed $objId Model id * @param \ReflectionClass $reflectionClass Reflection class * * @return mixed @@ -1136,7 +1136,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Update object in db. * - * @param mixed $obj Object reference (gets filled with insert id) + * @param mixed $obj Object reference (gets filled with insert id) * @param int $relations Create all relations as well * * @return mixed @@ -1180,7 +1180,7 @@ class DataMapperAbstract implements DataMapperInterface * @param \ReflectionClass $reflectionClass Reflection class * @param Object $obj Object to create * @param mixed $objId Id to set - * @param int $relations Delete all relations as well + * @param int $relations Delete all relations as well * * @return void * @@ -1298,8 +1298,8 @@ class DataMapperAbstract implements DataMapperInterface * Delete object in db. * * @param Object $obj Model to delete - * @param mixed $objId Model id - * @param int $relations Delete all relations as well + * @param mixed $objId Model id + * @param int $relations Delete all relations as well * @param \ReflectionClass $reflectionClass Reflection class * * @return mixed @@ -1353,7 +1353,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Delete object in db. * - * @param mixed $obj Object reference (gets filled with insert id) + * @param mixed $obj Object reference (gets filled with insert id) * @param int $relations Create all relations as well * * @return mixed @@ -1522,8 +1522,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param mixed $obj Object to add the relations to - * @param int $depth Relation depth + * @param mixed $obj Object to add the relations to + * @param int $depth Relation depth * * @return void * @@ -1567,7 +1567,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param array $obj Object to add the relations to + * @param array $obj Object to add the relations to * @param int $depth Relation depth * * @return void @@ -1588,8 +1588,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param mixed $obj Object to add the relations to - * @param int $depth Relation depth + * @param mixed $obj Object to add the relations to + * @param int $depth Relation depth * * @return void * @@ -1633,7 +1633,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param array $obj Object to add the relations to + * @param array $obj Object to add the relations to * @param int $depth Relation depth * * @return void @@ -1654,8 +1654,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param mixed $obj Object to add the relations to - * @param int $depth Relation depth + * @param mixed $obj Object to add the relations to + * @param int $depth Relation depth * * @return void * @@ -1699,8 +1699,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Populate data. * - * @param array $obj Object to add the relations to - * @param int $depth Relation depth + * @param array $obj Object to add the relations to + * @param int $depth Relation depth * * @return void * @@ -1810,7 +1810,7 @@ class DataMapperAbstract implements DataMapperInterface * @param mixed $primaryKey Key * @param int $relations Load relations * @param mixed $fill Object to fill - * @param int $depth Relation depth + * @param int $depth Relation depth * * @return mixed * @@ -1894,7 +1894,7 @@ class DataMapperAbstract implements DataMapperInterface * * @param mixed $primaryKey Key * @param int $relations Load relations - * @param int $depth Relation depth + * @param int $depth Relation depth * * @return mixed * @@ -1935,11 +1935,11 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param mixed $refKey Key - * @param string $ref The field that defines the for - * @param int $relations Load relations - * @param mixed $fill Object to fill - * @param int $depth Relation depth + * @param mixed $refKey Key + * @param string $ref The field that defines the for + * @param int $relations Load relations + * @param mixed $fill Object to fill + * @param int $depth Relation depth * * @return mixed * @@ -1986,10 +1986,10 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param mixed $refKey Key - * @param string $ref The field that defines the for - * @param int $relations Load relations - * @param mixed $fill Object to fill + * @param mixed $refKey Key + * @param string $ref The field that defines the for + * @param int $relations Load relations + * @param mixed $fill Object to fill * * @return mixed * @@ -2024,9 +2024,9 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param int $relations Load relations - * @param int $depth Relation depth - * @param string $lang Language + * @param int $relations Load relations + * @param int $depth Relation depth + * @param string $lang Language * * @return array * @@ -2052,9 +2052,9 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param int $relations Load relations - * @param int $depth Relation depth - * @param string $lang Language + * @param int $relations Load relations + * @param int $depth Relation depth + * @param string $lang Language * * @return array * @@ -2102,8 +2102,8 @@ class DataMapperAbstract implements DataMapperInterface * @param int $limit Newest limit * @param Builder $query Pre-defined query * @param int $relations Load relations - * @param int $depth Relation depth - * @param string $lang Language + * @param int $depth Relation depth + * @param string $lang Language * * @return mixed * @@ -2149,7 +2149,7 @@ class DataMapperAbstract implements DataMapperInterface * * @param Builder $query Query * @param int $relations Relations - * @param int $depth Relation depth + * @param int $depth Relation depth * * @return array * @@ -2328,8 +2328,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param mixed $refKey Key - * @param string $ref Ref + * @param mixed $refKey Key + * @param string $ref Ref * * @return mixed * @@ -2354,8 +2354,8 @@ class DataMapperAbstract implements DataMapperInterface /** * Get object. * - * @param mixed $refKey Key - * @param string $ref Ref + * @param mixed $refKey Key + * @param string $ref Ref * * @return mixed * @@ -2535,8 +2535,8 @@ class DataMapperAbstract implements DataMapperInterface * Add initialized object to local cache * * @param string $mapper Mapper name - * @param mixed $id Object id - * @param object $obj Model to cache locally + * @param mixed $id Object id + * @param object $obj Model to cache locally * * @return void * @@ -2555,7 +2555,7 @@ class DataMapperAbstract implements DataMapperInterface * Check if a object is initialized * * @param string $mapper Mapper name - * @param mixed $id Object id + * @param mixed $id Object id * * @return bool * @@ -2570,7 +2570,7 @@ class DataMapperAbstract implements DataMapperInterface * Get initialized object * * @param string $mapper Mapper name - * @param mixed $id Object id + * @param mixed $id Object id * * @return mixed * @@ -2585,7 +2585,7 @@ class DataMapperAbstract implements DataMapperInterface * Remove initialized object * * @param string $mapper Mapper name - * @param mixed $id Object id + * @param mixed $id Object id * * @return mixed * diff --git a/DataStorage/Database/Exception/InvalidConnectionConfigException.php b/DataStorage/Database/Exception/InvalidConnectionConfigException.php index 7b291005b..dc8f2b85b 100644 --- a/DataStorage/Database/Exception/InvalidConnectionConfigException.php +++ b/DataStorage/Database/Exception/InvalidConnectionConfigException.php @@ -27,8 +27,8 @@ class InvalidConnectionConfigException extends \InvalidArgumentException /** * 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/DataStorage/Database/Exception/InvalidDatabaseTypeException.php b/DataStorage/Database/Exception/InvalidDatabaseTypeException.php index b39ab4bbb..21135a321 100644 --- a/DataStorage/Database/Exception/InvalidDatabaseTypeException.php +++ b/DataStorage/Database/Exception/InvalidDatabaseTypeException.php @@ -27,8 +27,8 @@ class InvalidDatabaseTypeException extends \InvalidArgumentException /** * 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/DataStorage/Database/Exception/InvalidMapperException.php b/DataStorage/Database/Exception/InvalidMapperException.php index 77a631214..1a8464d6f 100644 --- a/DataStorage/Database/Exception/InvalidMapperException.php +++ b/DataStorage/Database/Exception/InvalidMapperException.php @@ -27,8 +27,8 @@ class InvalidMapperException 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/DataStorage/Database/Query/Builder.php b/DataStorage/Database/Query/Builder.php index 1e782a1ef..c80fb974d 100644 --- a/DataStorage/Database/Query/Builder.php +++ b/DataStorage/Database/Query/Builder.php @@ -219,7 +219,7 @@ class Builder extends BuilderAbstract * Constructor. * * @param ConnectionAbstract $connection Database connection - * @param bool $readOnly Query is read only + * @param bool $readOnly Query is read only * * @since 1.0.0 */ @@ -462,9 +462,9 @@ class Builder extends BuilderAbstract * Where. * * @param Where|string|\Closure|array $columns Columns - * @param string|array $operator Operator - * @param mixed $values Values - * @param string|array $boolean Boolean condition + * @param string|array $operator Operator + * @param mixed $values Values + * @param string|array $boolean Boolean condition * * @return Builder * @@ -524,7 +524,7 @@ class Builder extends BuilderAbstract /** * Get table name of system * - * @param mixed $expression System expression + * @param mixed $expression System expression * @param string $systemIdentifier System identifier * * @return string|null @@ -543,9 +543,9 @@ class Builder extends BuilderAbstract /** * Where and sub condition. * - * @param Where|string|\Closure|array $where Where sub condition - * @param mixed $operator Operator - * @param mixed $values Values + * @param Where|string|\Closure|array $where Where sub condition + * @param mixed $operator Operator + * @param mixed $values Values * * @return Builder * @@ -559,9 +559,9 @@ class Builder extends BuilderAbstract /** * Where or sub condition. * - * @param Where|string|\Closure|array $where Where sub condition - * @param mixed $operator Operator - * @param mixed $values Values + * @param Where|string|\Closure|array $where Where sub condition + * @param mixed $operator Operator + * @param mixed $values Values * * @return Builder * @@ -576,8 +576,8 @@ class Builder extends BuilderAbstract * Where in. * * @param Where|string|\Closure|array $column Column - * @param mixed $values Values - * @param string $boolean Boolean condition + * @param mixed $values Values + * @param string $boolean Boolean condition * * @return Builder * @@ -594,7 +594,7 @@ class Builder extends BuilderAbstract * Where null. * * @param Where|string|\Closure|array $column Column - * @param string $boolean Boolean condition + * @param string $boolean Boolean condition * * @return Builder * @@ -611,7 +611,7 @@ class Builder extends BuilderAbstract * Where not null. * * @param Where|string|\Closure|array $column Column - * @param string $boolean Boolean condition + * @param string $boolean Boolean condition * * @return Builder * @@ -944,8 +944,8 @@ class Builder extends BuilderAbstract /** * Values to insert. * - * @param mixed $set Values - * @param string $type Data type to insert + * @param mixed $set Values + * @param string $type Data type to insert * * @return Builder * diff --git a/DataStorage/Database/Query/Grammar/Grammar.php b/DataStorage/Database/Query/Grammar/Grammar.php index d37e6a669..a9783a2ee 100644 --- a/DataStorage/Database/Query/Grammar/Grammar.php +++ b/DataStorage/Database/Query/Grammar/Grammar.php @@ -182,7 +182,7 @@ class Grammar extends GrammarAbstract /** * Compile select. * - * @param Builder $query Builder + * @param Builder $query Builder * @param array $table Table * * @return string @@ -268,9 +268,9 @@ class Grammar extends GrammarAbstract /** * Compile where element. * - * @param array $element Element data - * @param Builder $query Query builder - * @param bool $first Is first element (usefull for nesting) + * @param array $element Element data + * @param Builder $query Query builder + * @param bool $first Is first element (usefull for nesting) * * @return string * diff --git a/DataStorage/Database/Schema/Exception/TableException.php b/DataStorage/Database/Schema/Exception/TableException.php index f8a37f9ad..6a9aa3bfa 100644 --- a/DataStorage/Database/Schema/Exception/TableException.php +++ b/DataStorage/Database/Schema/Exception/TableException.php @@ -27,8 +27,8 @@ class TableException extends \PDOException /** * 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/DataStorage/LockException.php b/DataStorage/LockException.php index c423567b4..703b99f49 100644 --- a/DataStorage/LockException.php +++ b/DataStorage/LockException.php @@ -27,8 +27,8 @@ class LockException 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/DataStorage/Session/HttpSession.php b/DataStorage/Session/HttpSession.php index 4f6d4e470..db4de21ed 100644 --- a/DataStorage/Session/HttpSession.php +++ b/DataStorage/Session/HttpSession.php @@ -66,8 +66,8 @@ class HttpSession implements SessionInterface /** * Constructor. * - * @param int $liftetime Session life time - * @param string|int|bool $sid Session id + * @param int $liftetime Session life time + * @param string|int|bool $sid Session id * @param int $inactivityInterval Interval for session activity * * @throws LockException Throws this exception if the session is alrady locked for further interaction. diff --git a/Event/EventManager.php b/Event/EventManager.php index 8f00ede19..f1504e5b4 100644 --- a/Event/EventManager.php +++ b/Event/EventManager.php @@ -54,10 +54,10 @@ class EventManager /** * Attach new event * - * @param string $group Name of the event (unique) + * @param string $group Name of the event (unique) * @param \Closure $callback Callback for the event - * @param bool $remove Remove event after triggering it? - * @param bool $reset Reset event after triggering it? Remove must be false! + * @param bool $remove Remove event after triggering it? + * @param bool $reset Reset event after triggering it? Remove must be false! * * @return bool * @@ -78,8 +78,8 @@ class EventManager * Trigger event * * @param string $group Name of the event - * @param string $id Sub-requirement for event - * @param mixed $data Data to pass to the callback + * @param string $id Sub-requirement for event + * @param mixed $data Data to pass to the callback * * @return bool Returns true on sucessfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing. * @@ -180,7 +180,7 @@ class EventManager * Add sub-requirement for event * * @param string $group Name of the event - * @param string $id ID of the sub-requirement + * @param string $id ID of the sub-requirement * * @return void * diff --git a/Localization/L11nManager.php b/Localization/L11nManager.php index cf2efe668..515ae0adf 100644 --- a/Localization/L11nManager.php +++ b/Localization/L11nManager.php @@ -95,9 +95,9 @@ class L11nManager * One module can only be loaded once. Once the module got loaded it's not * possible to load more language files later on. * - * @param string $language Language iso code - * @param string $from Module name - * @param string $file File to import language from + * @param string $language Language iso code + * @param string $from Module name + * @param string $file File to import language from * * @return void * @@ -141,7 +141,7 @@ class L11nManager * @param string $code Country code * @param string $module Module name * @param string $theme Theme - * @param mixed $translation Text + * @param mixed $translation Text * * @return string In case the language element couldn't be found 'ERROR' will be returned * @@ -176,7 +176,7 @@ class L11nManager * @param string $code Country code * @param string $module Module name * @param string $theme Theme - * @param mixed $translation Text + * @param mixed $translation Text * * @return string In case the language element couldn't be found 'ERROR' will be returned * diff --git a/Math/Exception/ZeroDevisionException.php b/Math/Exception/ZeroDevisionException.php index d5f4419b0..b84e92127 100644 --- a/Math/Exception/ZeroDevisionException.php +++ b/Math/Exception/ZeroDevisionException.php @@ -27,8 +27,8 @@ class ZeroDevisionException extends \UnexpectedValueException /** * 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/Functions/Functions.php b/Math/Functions/Functions.php index 75665d9ef..8dab2294c 100644 --- a/Math/Functions/Functions.php +++ b/Math/Functions/Functions.php @@ -248,9 +248,9 @@ class Functions * @example The relative fiscal month (August) in a company where the fiscal year starts in July. * @example 2 = getRelativeDegree(8, 12, 7); * - * @param int $value Value to get degree + * @param int $value Value to get degree * @param int $length Circle size - * @param int $start Start value + * @param int $start Start value * * @return int Lowest value is 0 and highest value is length - 1 * diff --git a/Math/Geometry/Shape/D2/Polygon.php b/Math/Geometry/Shape/D2/Polygon.php index 7c56f8f4d..45fdc577a 100644 --- a/Math/Geometry/Shape/D2/Polygon.php +++ b/Math/Geometry/Shape/D2/Polygon.php @@ -76,7 +76,7 @@ class Polygon implements D2ShapeInterface /** * Point polygon relative position * - * @param array $point Point location + * @param array $point Point location * @param array $polygon Polygon definition * * @return int -1 inside polygon 0 on vertice 1 outside @@ -134,7 +134,7 @@ class Polygon implements D2ShapeInterface /** * Is point on vertex? * - * @param array $point Point location + * @param array $point Point location * @param array $polygon Polygon definition * * @return bool diff --git a/Math/Matrix/Exception/InvalidDimensionException.php b/Math/Matrix/Exception/InvalidDimensionException.php index 6694f694a..4b163d17f 100644 --- a/Math/Matrix/Exception/InvalidDimensionException.php +++ b/Math/Matrix/Exception/InvalidDimensionException.php @@ -27,8 +27,8 @@ class InvalidDimensionException extends \UnexpectedValueException /** * Constructor. * - * @param mixed $message Exception message - * @param int $code Exception code + * @param mixed $message Exception message + * @param int $code Exception code * @param \Exception $previous Previous exception * * @since 1.0.0 diff --git a/Math/Statistic/Average.php b/Math/Statistic/Average.php index 61f4f4e07..d510a88d0 100644 --- a/Math/Statistic/Average.php +++ b/Math/Statistic/Average.php @@ -60,10 +60,10 @@ class Average /** * Moving average of dataset * - * @param array $x Dataset - * @param int $order Periods to use for average - * @param array $weight Weight for moving average - * @param bool $symmetric Cyclic moving average + * @param array $x Dataset + * @param int $order Periods to use for average + * @param array $weight Weight for moving average + * @param bool $symmetric Cyclic moving average * * @return array Moving average of data * @@ -87,11 +87,11 @@ class Average /** * Moving average of element in dataset * - * @param array $x Dataset - * @param int $t Current period - * @param int $order Periods to use for average - * @param array $weight Weight for moving average - * @param bool $symmetric Cyclic moving average + * @param array $x Dataset + * @param int $t Current period + * @param int $order Periods to use for average + * @param array $weight Weight for moving average + * @param bool $symmetric Cyclic moving average * * @return float Moving average * diff --git a/Math/Statistic/Forecast/Forecasts.php b/Math/Statistic/Forecast/Forecasts.php index 33d70b0eb..b6de71144 100644 --- a/Math/Statistic/Forecast/Forecasts.php +++ b/Math/Statistic/Forecast/Forecasts.php @@ -27,9 +27,9 @@ class Forecasts /** * Get forecast/prediction interval. * - * @param float $forecast Forecast value + * @param float $forecast Forecast value * @param float $standardDeviation Standard Deviation of forecast - * @param float $interval Forecast multiplier for prediction intervals + * @param float $interval Forecast multiplier for prediction intervals * * @return array * diff --git a/Message/Http/Header.php b/Message/Http/Header.php index dafb42705..b44fec742 100644 --- a/Message/Http/Header.php +++ b/Message/Http/Header.php @@ -52,9 +52,9 @@ class Header extends HeaderAbstract /** * Set header. * - * @param string $key Header key (case insensitive) - * @param string $header Header value - * @param bool $overwrite Overwrite if already existing + * @param string $key Header key (case insensitive) + * @param string $header Header value + * @param bool $overwrite Overwrite if already existing * * @return bool * diff --git a/Message/Mail/EmailAbstract.php b/Message/Mail/EmailAbstract.php index be9398fb3..08ded93aa 100644 --- a/Message/Mail/EmailAbstract.php +++ b/Message/Mail/EmailAbstract.php @@ -67,10 +67,10 @@ class EmailAbstract /** * Construct * - * @param string $host Host - * @param int $port Host port - * @param int $timeout Timeout - * @param bool $ssl Use ssl + * @param string $host Host + * @param int $port Host port + * @param int $timeout Timeout + * @param bool $ssl Use ssl * * @since 1.0.0 */ @@ -90,8 +90,8 @@ class EmailAbstract /** * Decode * - * @param string $content Content to decode - * @param int $encoding Encoding type + * @param string $content Content to decode + * @param int $encoding Encoding type * * @return string * @@ -479,7 +479,7 @@ class EmailAbstract * Check message to delete * * @param int $length Amount of message overview - * @param int $start Start index of the overview for pagination + * @param int $start Start index of the overview for pagination * * @return array * diff --git a/Message/Mail/Imap.php b/Message/Mail/Imap.php index bef7fcfff..819ebd6ad 100644 --- a/Message/Mail/Imap.php +++ b/Message/Mail/Imap.php @@ -27,10 +27,10 @@ class Imap extends EmailAbstract /** * Construct * - * @param string $host Host - * @param int $port Host port - * @param int $timeout Timeout - * @param bool $ssl Use ssl + * @param string $host Host + * @param int $port Host port + * @param int $timeout Timeout + * @param bool $ssl Use ssl * * @since 1.0.0 */ diff --git a/Message/Mail/Nntp.php b/Message/Mail/Nntp.php index be0f1d7ab..f85887d2c 100644 --- a/Message/Mail/Nntp.php +++ b/Message/Mail/Nntp.php @@ -27,10 +27,10 @@ class Nntp extends EmailAbstract /** * Construct * - * @param string $host Host - * @param int $port Host port - * @param int $timeout Timeout - * @param bool $ssl Use ssl + * @param string $host Host + * @param int $port Host port + * @param int $timeout Timeout + * @param bool $ssl Use ssl * * @since 1.0.0 */ diff --git a/Message/Mail/Pop3.php b/Message/Mail/Pop3.php index 94d3c16d2..fddea37cb 100644 --- a/Message/Mail/Pop3.php +++ b/Message/Mail/Pop3.php @@ -27,10 +27,10 @@ class Pop3 extends EmailAbstract /** * Construct * - * @param string $host Host - * @param int $port Host port - * @param int $timeout Timeout - * @param bool $ssl Use ssl + * @param string $host Host + * @param int $port Host port + * @param int $timeout Timeout + * @param bool $ssl Use ssl * * @since 1.0.0 */ diff --git a/Model/Html/Head.php b/Model/Html/Head.php index e8180b53b..e0946cf1b 100644 --- a/Model/Html/Head.php +++ b/Model/Html/Head.php @@ -138,7 +138,7 @@ class Head implements RenderableInterface /** * Set page title. * - * @param int $type Asset type + * @param int $type Asset type * @param string $uri Asset uri * * @return void diff --git a/Module/Exception/InvalidModuleException.php b/Module/Exception/InvalidModuleException.php index b23979ca1..48906ce0a 100644 --- a/Module/Exception/InvalidModuleException.php +++ b/Module/Exception/InvalidModuleException.php @@ -27,8 +27,8 @@ class InvalidModuleException extends \UnexpectedValueException /** * 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/Module/Exception/InvalidThemeException.php b/Module/Exception/InvalidThemeException.php index f7e0c5ad4..f38152566 100644 --- a/Module/Exception/InvalidThemeException.php +++ b/Module/Exception/InvalidThemeException.php @@ -27,8 +27,8 @@ class InvalidThemeException extends \UnexpectedValueException /** * 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/Module/InstallerAbstract.php b/Module/InstallerAbstract.php index 292b28e12..a4a8e238c 100644 --- a/Module/InstallerAbstract.php +++ b/Module/InstallerAbstract.php @@ -35,8 +35,8 @@ class InstallerAbstract /** * Register module in database. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -88,9 +88,9 @@ class InstallerAbstract /** * Install module. * - * @param string $modulePath Route Path - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param string $modulePath Route Path + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -106,8 +106,8 @@ class InstallerAbstract /** * Activate after install. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -124,7 +124,7 @@ class InstallerAbstract * Re-init module. * * @param string $modulePath Route Path - * @param InfoManager $info Module info + * @param InfoManager $info Module info * * @return void * @@ -139,7 +139,7 @@ class InstallerAbstract * Init routes. * * @param string $modulePath Path to the module - * @param InfoManager $info Module info + * @param InfoManager $info Module info * * @return void * diff --git a/Module/ModuleManager.php b/Module/ModuleManager.php index 09fe853ae..8495a0783 100644 --- a/Module/ModuleManager.php +++ b/Module/ModuleManager.php @@ -95,8 +95,8 @@ class ModuleManager /** * Constructor. * - * @param ApplicationAbstract $app Application - * @param string $modulePath Path to modules + * @param ApplicationAbstract $app Application + * @param string $modulePath Path to modules * * @since 1.0.0 */ diff --git a/Module/PackageManager.php b/Module/PackageManager.php index c8746ab6a..7654dd39e 100644 --- a/Module/PackageManager.php +++ b/Module/PackageManager.php @@ -68,7 +68,7 @@ class PackageManager /** * Constructor. * - * @param string $path Package source path e.g. path after download. + * @param string $path Package source path e.g. path after download. * @param string $basePath Path of the application * * @since 1.0.0 @@ -254,7 +254,7 @@ class PackageManager * Authenticate package * * @param string $signedHash Hash to authenticate - * @param string $rawHash Hash to compare against + * @param string $rawHash Hash to compare against * * @return bool * diff --git a/Module/StatusAbstract.php b/Module/StatusAbstract.php index a1de7f85d..1e1f04388 100644 --- a/Module/StatusAbstract.php +++ b/Module/StatusAbstract.php @@ -32,8 +32,8 @@ class StatusAbstract /** * Deactivate module. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -63,8 +63,8 @@ class StatusAbstract /** * Deactivate module in database. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -95,8 +95,8 @@ class StatusAbstract /** * Deactivate module. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * @@ -126,8 +126,8 @@ class StatusAbstract /** * Deactivate module in database. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * diff --git a/Module/UninstallerAbstract.php b/Module/UninstallerAbstract.php index 20213b396..1091ed938 100644 --- a/Module/UninstallerAbstract.php +++ b/Module/UninstallerAbstract.php @@ -30,8 +30,8 @@ class UninstallerAbstract /** * Install module. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * diff --git a/Module/UpdaterAbstract.php b/Module/UpdaterAbstract.php index ba965ffe2..a758bd548 100644 --- a/Module/UpdaterAbstract.php +++ b/Module/UpdaterAbstract.php @@ -30,8 +30,8 @@ class UpdaterAbstract /** * Install module. * - * @param DatabasePool $dbPool Database instance - * @param InfoManager $info Module info + * @param DatabasePool $dbPool Database instance + * @param InfoManager $info Module info * * @return void * diff --git a/Stdlib/Base/Enum.php b/Stdlib/Base/Enum.php index a4ca5b6f4..660f911fa 100644 --- a/Stdlib/Base/Enum.php +++ b/Stdlib/Base/Enum.php @@ -143,7 +143,7 @@ abstract class Enum * * This only works for binary flags. * - * @param int $flags Set flags + * @param int $flags Set flags * @param int $checkForFlag Check if this flag is part of the set flags * * @return bool diff --git a/Stdlib/Base/Exception/InvalidEnumName.php b/Stdlib/Base/Exception/InvalidEnumName.php index e5abdaea8..d2beea78b 100644 --- a/Stdlib/Base/Exception/InvalidEnumName.php +++ b/Stdlib/Base/Exception/InvalidEnumName.php @@ -30,8 +30,8 @@ class InvalidEnumName extends \UnexpectedValueException /** * 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/Stdlib/Base/Exception/InvalidEnumValue.php b/Stdlib/Base/Exception/InvalidEnumValue.php index 83bbc8bfb..97df021ae 100644 --- a/Stdlib/Base/Exception/InvalidEnumValue.php +++ b/Stdlib/Base/Exception/InvalidEnumValue.php @@ -30,8 +30,8 @@ class InvalidEnumValue extends \UnexpectedValueException /** * Constructor. * - * @param mixed $message Exception message - * @param int $code Exception code + * @param mixed $message Exception message + * @param int $code Exception code * @param \Exception $previous Previous exception * * @since 1.0.0 diff --git a/Stdlib/Graph/BinaryTree.php b/Stdlib/Graph/BinaryTree.php index 126305fdf..2a3974857 100644 --- a/Stdlib/Graph/BinaryTree.php +++ b/Stdlib/Graph/BinaryTree.php @@ -99,7 +99,7 @@ class BinaryTree extends Tree /** * Set right node of node. * - * @param Node $base Base node + * @param Node $base Base node * @param Node $right Right node * * @return BinaryTree @@ -120,7 +120,7 @@ class BinaryTree extends Tree /** * Perform action on tree in in-order. * - * @param Node $node Tree node + * @param Node $node Tree node * @param \Closure $callback Task to perform on node * * @since 1.0.0 @@ -135,9 +135,9 @@ class BinaryTree extends Tree /** * Get nodes in vertical order. * - * @param Node $node Tree node - * @param int $horizontalDistance Horizontal distance - * @param Node[] &$order Ordered nodes by horizontal distance + * @param Node $node Tree node + * @param int $horizontalDistance Horizontal distance + * @param Node[] &$order Ordered nodes by horizontal distance * * @since 1.0.0 */ @@ -163,7 +163,7 @@ class BinaryTree extends Tree /** * Perform action on tree in vertical-order. * - * @param Node $node Tree node + * @param Node $node Tree node * @param \Closure $callback Task to perform on node * * @since 1.0.0 diff --git a/Stdlib/Graph/Tree.php b/Stdlib/Graph/Tree.php index 8dd5452ed..a3cb23b6f 100644 --- a/Stdlib/Graph/Tree.php +++ b/Stdlib/Graph/Tree.php @@ -120,7 +120,7 @@ class Tree extends Graph /** * Perform task on tree nodes in level order. * - * @param Node $node Tree node + * @param Node $node Tree node * @param \Closure $callback Task to perform * * @return void @@ -154,8 +154,8 @@ class Tree extends Graph /** * Get all nodes of a specific level. * - * @param int $level Level to retrieve - * @param Node $node Tree node + * @param int $level Level to retrieve + * @param Node $node Tree node * * @return Node[] * @@ -207,7 +207,7 @@ class Tree extends Graph /** * Perform action on tree in pre-order. * - * @param Node $node Tree node + * @param Node $node Tree node * @param \Closure $callback Task to perform on node * * @since 1.0.0 @@ -230,7 +230,7 @@ class Tree extends Graph /** * Perform action on tree in post-order. * - * @param Node $node Tree node + * @param Node $node Tree node * @param \Closure $callback Task to perform on node * * @since 1.0.0 diff --git a/System/File/ContainerInterface.php b/System/File/ContainerInterface.php index 87eaca707..b02d26b79 100644 --- a/System/File/ContainerInterface.php +++ b/System/File/ContainerInterface.php @@ -108,9 +108,9 @@ interface ContainerInterface /** * Copy resource to different location. * - * @param string $from Path of the resource to copy - * @param string $to Path of the resource to copy to - * @param bool $overwrite Overwrite/replace existing file + * @param string $from Path of the resource to copy + * @param string $to Path of the resource to copy to + * @param bool $overwrite Overwrite/replace existing file * * @return bool True on success and false on failure * @@ -121,9 +121,9 @@ interface ContainerInterface /** * Move resource to different location. * - * @param string $from Path of the resource to move - * @param string $to Path of the resource to move to - * @param bool $overwrite Overwrite/replace existing file + * @param string $from Path of the resource to move + * @param string $to Path of the resource to move to + * @param bool $overwrite Overwrite/replace existing file * * @return bool True on success and false on failure * @@ -134,8 +134,8 @@ interface ContainerInterface /** * Get size of resource. * - * @param string $path Path of the resource - * @param bool $recursive Should include sub-sub-resources + * @param string $path Path of the resource + * @param bool $recursive Should include sub-sub-resources * * @return int * @@ -179,7 +179,7 @@ interface ContainerInterface /** * Make name/path operating system safe. * - * @param string $path Path of the resource + * @param string $path Path of the resource * @param string $replace Replace invalid chars with * * @return string @@ -253,8 +253,8 @@ interface ContainerInterface /** * Copy resource to different location. * - * @param string $to Path of the resource to copy to - * @param bool $overwrite Overwrite/replace existing file + * @param string $to Path of the resource to copy to + * @param bool $overwrite Overwrite/replace existing file * * @return bool True on success and false on failure * @@ -265,8 +265,8 @@ interface ContainerInterface /** * Move resource to different location. * - * @param string $to Path of the resource to move to - * @param bool $overwrite Overwrite/replace existing file + * @param string $to Path of the resource to move to + * @param bool $overwrite Overwrite/replace existing file * * @return bool True on success and false on failure * diff --git a/System/File/FileInterface.php b/System/File/FileInterface.php index 0ede2abb2..93b03515a 100644 --- a/System/File/FileInterface.php +++ b/System/File/FileInterface.php @@ -30,9 +30,9 @@ interface FileInterface extends ContainerInterface /** * Save content to file. * - * @param string $path File path to save the content to + * @param string $path File path to save the content to * @param string $content Content to save in file - * @param int $mode Mode (overwrite, append) + * @param int $mode Mode (overwrite, append) * * @return bool * @@ -45,7 +45,7 @@ interface FileInterface extends ContainerInterface * * Creates new file if it doesn't exist or overwrites existing file. * - * @param string $path File path to save the content to + * @param string $path File path to save the content to * @param string $content Content to save in file * * @return bool @@ -59,7 +59,7 @@ interface FileInterface extends ContainerInterface * * Creates new file if it doesn't exist or appends existing file. * - * @param string $path File path to save the content to + * @param string $path File path to save the content to * @param string $content Content to save in file * * @return bool @@ -73,7 +73,7 @@ interface FileInterface extends ContainerInterface * * Creates new file if it doesn't exist or prepends existing file. * - * @param string $path File path to save the content to + * @param string $path File path to save the content to * @param string $content Content to save in file * * @return bool @@ -108,7 +108,7 @@ interface FileInterface extends ContainerInterface * Save content to file. * * @param string $content Content to save in file - * @param int $mode Mode (overwrite, append) + * @param int $mode Mode (overwrite, append) * * @return bool * diff --git a/System/File/Local/Directory.php b/System/File/Local/Directory.php index faa8c970e..2f6715a9f 100644 --- a/System/File/Local/Directory.php +++ b/System/File/Local/Directory.php @@ -97,7 +97,7 @@ class Directory extends FileAbstract implements DirectoryInterface /** * List all files by extension directory. * - * @param string $path Path + * @param string $path Path * @param string $extension Extension * * @return array diff --git a/System/File/PathException.php b/System/File/PathException.php index f1654386b..faf486dea 100644 --- a/System/File/PathException.php +++ b/System/File/PathException.php @@ -27,8 +27,8 @@ class PathException extends \UnexpectedValueException /** * 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/System/File/PermissionException.php b/System/File/PermissionException.php index e326ec6cf..c57411d1f 100644 --- a/System/File/PermissionException.php +++ b/System/File/PermissionException.php @@ -27,8 +27,8 @@ class PermissionException 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/System/File/Storage.php b/System/File/Storage.php index b026c34ce..26863eb77 100644 --- a/System/File/Storage.php +++ b/System/File/Storage.php @@ -87,7 +87,7 @@ final class Storage /** * Register storage environment. * - * @param string $name Name of the environment + * @param string $name Name of the environment * @param string|StorageAbstract|mixed $class Class to register. This can be either a namespace path, a anonymous class or storage implementation. * * @return bool diff --git a/Uri/InvalidUriException.php b/Uri/InvalidUriException.php index 113f8f8ae..de5864fd2 100644 --- a/Uri/InvalidUriException.php +++ b/Uri/InvalidUriException.php @@ -27,8 +27,8 @@ class InvalidUriException extends \UnexpectedValueException /** * 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/Utils/ArrayUtils.php b/Utils/ArrayUtils.php index ee52573b2..6f9595552 100644 --- a/Utils/ArrayUtils.php +++ b/Utils/ArrayUtils.php @@ -111,9 +111,9 @@ class ArrayUtils /** * Get element of array by path * - * @param string $path Path to element - * @param array $data Array - * @param string $delim Delimiter for path + * @param string $path Path to element + * @param array $data Array + * @param string $delim Delimiter for path * * @return mixed * @@ -163,7 +163,7 @@ class ArrayUtils /** * Check if any of the needles are in the array * - * @param mixed $needles Needles for search + * @param mixed $needles Needles for search * @param array $haystack Haystack for search * * @return bool @@ -184,7 +184,7 @@ class ArrayUtils /** * Check if all of the needles are in the array * - * @param mixed $needles Needles for search + * @param mixed $needles Needles for search * @param array $haystack Haystack for search * * @return bool @@ -332,8 +332,8 @@ class ArrayUtils * Sum of array elements * * @param array $array Array to sum - * @param int $start Start index - * @param int $count Amount of elements to sum + * @param int $start Start index + * @param int $count Amount of elements to sum * * @return int|float * diff --git a/Utils/Barcode/C128Abstract.php b/Utils/Barcode/C128Abstract.php index ca2a05aea..00f17b8a2 100644 --- a/Utils/Barcode/C128Abstract.php +++ b/Utils/Barcode/C128Abstract.php @@ -165,7 +165,7 @@ abstract class C128Abstract /** * Set barcode margins * - * @param int $margin Barcode margin + * @param int $margin Barcode margin * * @since 1.0.0 */ diff --git a/Utils/Barcode/C25.php b/Utils/Barcode/C25.php index 3893ba9c0..6eb2a0d54 100644 --- a/Utils/Barcode/C25.php +++ b/Utils/Barcode/C25.php @@ -66,8 +66,8 @@ class C25 extends C128Abstract * Constructor * * @param string $content Content to encrypt - * @param int $width Barcode width - * @param int $height Barcode height + * @param int $width Barcode width + * @param int $height Barcode height * @param int $orientation Orientation of the barcode * * @todo : add mirror parameter diff --git a/Utils/ColorUtils.php b/Utils/ColorUtils.php index 4f5c8a381..6903cf65b 100644 --- a/Utils/ColorUtils.php +++ b/Utils/ColorUtils.php @@ -28,7 +28,7 @@ class ColorUtils /** * Convert int to rgb * - * @param int $rgbInt Value to convert + * @param int $rgbInt Value to convert * * @return array * diff --git a/Utils/Encoding/Huffman/Dictionary.php b/Utils/Encoding/Huffman/Dictionary.php index 4531750a1..ba39c5b08 100644 --- a/Utils/Encoding/Huffman/Dictionary.php +++ b/Utils/Encoding/Huffman/Dictionary.php @@ -98,7 +98,7 @@ final class Dictionary /** * Fill dictionary. * - * @param array $entry Source data to generate dictionary from + * @param array $entry Source data to generate dictionary from * @param string $value Dictionary value * * @return void diff --git a/Utils/Git/Repository.php b/Utils/Git/Repository.php index 7aa050336..ea9d09cbb 100644 --- a/Utils/Git/Repository.php +++ b/Utils/Git/Repository.php @@ -289,7 +289,7 @@ class Repository /** * Remove file(s) from repository * - * @param string|array $files Files to remove + * @param string|array $files Files to remove * * @return string * diff --git a/Utils/IO/Json/InvalidJsonException.php b/Utils/IO/Json/InvalidJsonException.php index 62afdac20..a798729d7 100644 --- a/Utils/IO/Json/InvalidJsonException.php +++ b/Utils/IO/Json/InvalidJsonException.php @@ -27,8 +27,8 @@ class InvalidJsonException extends \UnexpectedValueException /** * 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/Utils/IO/Zip/ArchiveInterface.php b/Utils/IO/Zip/ArchiveInterface.php index 223e307a9..a0fce143b 100644 --- a/Utils/IO/Zip/ArchiveInterface.php +++ b/Utils/IO/Zip/ArchiveInterface.php @@ -28,8 +28,8 @@ interface ArchiveInterface * Create archive. * * @param string $sources Files and directories to compress - * @param string $destination Output destination - * @param bool $overwrite Overwrite if destination is existing + * @param string $destination Output destination + * @param bool $overwrite Overwrite if destination is existing * * @return bool * @@ -40,8 +40,8 @@ interface ArchiveInterface /** * Unpack archive. * - * @param string $source File to decompress - * @param string $destination Output destination + * @param string $source File to decompress + * @param string $destination Output destination * * @return bool * diff --git a/Utils/TaskSchedule/TaskAbstract.php b/Utils/TaskSchedule/TaskAbstract.php index 3971ae0c5..490c15596 100644 --- a/Utils/TaskSchedule/TaskAbstract.php +++ b/Utils/TaskSchedule/TaskAbstract.php @@ -87,7 +87,7 @@ abstract class TaskAbstract * Constructor * * @param string $name Id/name of the task (on linux the same as the executable script) - * @param string $cmd Command to create the task + * @param string $cmd Command to create the task * * @since 1.0.0 */