mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-03-07 08:28:41 +00:00
phpcs fixes
This commit is contained in:
parent
a8afbc5cc8
commit
675d3fa808
|
|
@ -164,9 +164,11 @@ class MemCached implements CacheInterface
|
|||
/**
|
||||
* Closing cache.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function close()
|
||||
public function close() /* : void */
|
||||
{
|
||||
if ($this->memc !== null) {
|
||||
$this->memc->close();
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
|||
/**
|
||||
* Database query builder.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -24,7 +24,7 @@ use phpOMS\DataStorage\Database\Schema\Grammar\Grammar as SchemaGrammar;
|
|||
* Handles the database connection.
|
||||
* Implementing wrapper functions for multiple databases is planned (far away).
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
|||
/**
|
||||
* Database connection factory.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Schema\Grammar\Grammar as SchemaGrammar;
|
|||
/**
|
||||
* Database connection interface.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -26,7 +26,7 @@ use phpOMS\DataStorage\Database\Exception\InvalidConnectionConfigException;
|
|||
* Handles the database connection.
|
||||
* Implementing wrapper functions for multiple databases is planned (far away).
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -14,6 +14,17 @@ declare(strict_types=1);
|
|||
|
||||
namespace phpOMS\DataStorage\Database\Connection;
|
||||
|
||||
/**
|
||||
* Database handler.
|
||||
*
|
||||
* Handles the database connection.
|
||||
* Implementing wrapper functions for multiple databases is planned (far away).
|
||||
*
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract class PostgresConnection extends \Exception
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -24,7 +24,7 @@ use phpOMS\DataStorage\Database\Query\Grammar\SqliteGrammar;
|
|||
* Handles the database connection.
|
||||
* Implementing wrapper functions for multiple databases is planned (far away).
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Schema\Grammar\MysqlGrammar as MysqlSchemaGramma
|
|||
* Handles the database connection.
|
||||
* Implementing wrapper functions for multiple databases is planned (far away).
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Connection
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Exception\InvalidMapperException;
|
|||
*
|
||||
* DB, Cache, Session
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Schema\Exception\TableException;
|
|||
/**
|
||||
* Database exception factory.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Connection\ConnectionFactory;
|
|||
/**
|
||||
* Database pool handler.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\DataStorage\Database\Exception;
|
|||
/**
|
||||
* Permission exception class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\DataStorage\Database\Exception;
|
|||
/**
|
||||
* Permission exception class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\DataStorage\Database\Exception;
|
|||
/**
|
||||
* Permission exception class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Exception
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\DataStorage\Database;
|
|||
/**
|
||||
* Grammar.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -1219,6 +1219,17 @@ class Builder extends BuilderAbstract
|
|||
throw new \Exception();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get column name
|
||||
*
|
||||
* @param mixed $column Column name
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @throws \Exception
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function getPublicColumnName($column) : string
|
||||
{
|
||||
if (is_string($column)) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -24,7 +24,7 @@ use phpOMS\DataStorage\Database\Query\Where;
|
|||
/**
|
||||
* Database query grammar.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -14,6 +14,14 @@ declare(strict_types=1);
|
|||
|
||||
namespace phpOMS\DataStorage\Database\Query\Grammar;
|
||||
|
||||
/**
|
||||
* Grammar interface.
|
||||
*
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
*/
|
||||
interface GrammarInterface
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
|||
/**
|
||||
* Grammar class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
|||
/**
|
||||
* Grammar class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
|||
/**
|
||||
* Grammar class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
|||
/**
|
||||
* Grammar class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
|||
/**
|
||||
* Grammar class.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database\Query\Grammar
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
*
|
||||
* Database types that are supported by the application
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\DataStorage\Database
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Math\Matrix
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException;
|
|||
/**
|
||||
* Matrix class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Math\Matrix
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
@ -82,6 +82,8 @@ class Matrix implements \ArrayAccess, \Iterator
|
|||
* @param int $m Row
|
||||
* @param int $n Column
|
||||
* @param int $value Value
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws InvalidDimensionException
|
||||
*
|
||||
|
|
@ -551,6 +553,13 @@ class Matrix implements \ArrayAccess, \Iterator
|
|||
return $newMatrix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Diagonalize matrix
|
||||
*
|
||||
* @return Matrix
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function diagonalize() : Matrix
|
||||
{
|
||||
$newMatrix = new Matrix($this->m, $this->n);
|
||||
|
|
@ -559,6 +568,15 @@ class Matrix implements \ArrayAccess, \Iterator
|
|||
return $newMatrix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Solve matrix
|
||||
*
|
||||
* @param Matix $B Matrix/Vector b
|
||||
*
|
||||
* @return Matrix
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function solve(Matrix $B) : Matrix
|
||||
{
|
||||
$M = $this->m === $this->n ? new LUDecomposition($this) : new QRDecomposition($this);
|
||||
|
|
@ -566,6 +584,15 @@ class Matrix implements \ArrayAccess, \Iterator
|
|||
return $M->solve($B);
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform gauss elimination on Matrix
|
||||
*
|
||||
* @param mixed $b Vector b
|
||||
*
|
||||
* @return Matrix
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function gaussElimination($b) : Matrix
|
||||
{
|
||||
$mDim = count($b);
|
||||
|
|
|
|||
|
|
@ -47,9 +47,11 @@ interface EdgeInterface
|
|||
*
|
||||
* @param mixed $weight Weight of edge
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setWeight($weight);
|
||||
public function setWeight($weight); /* : void */
|
||||
|
||||
/**
|
||||
* Get vertices.
|
||||
|
|
@ -66,7 +68,9 @@ interface EdgeInterface
|
|||
* @param VerticeInterface $a Vertice a
|
||||
* @param VerticeInterface $b Vertice b
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setVertices(VerticeInterface $a, VerticeInterface $b);
|
||||
public function setVertices(VerticeInterface $a, VerticeInterface $b); /* : void */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ abstract class RegressionAbstract
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function getSlope(float $b1, float $y, float $x) : float
|
||||
public static function getSlope(float $b1, float $x, float $y) : float
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
|
@ -180,7 +180,7 @@ abstract class RegressionAbstract
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function getElasticity(float $b1, float $y, float $x): float
|
||||
public static function getElasticity(float $b1, float $x, float $y): float
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get probability mass function.
|
||||
*
|
||||
* @param float $p
|
||||
* @param int $k
|
||||
* @param float $p Value p
|
||||
* @param int $k Value k
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -50,7 +50,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get mode.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return int
|
||||
*
|
||||
|
|
@ -70,7 +70,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -84,7 +84,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -104,7 +104,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -118,8 +118,8 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $t
|
||||
* @param float $p Value p
|
||||
* @param float $t Value t
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -133,7 +133,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get skewness.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -147,7 +147,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get Fisher information.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -161,7 +161,7 @@ class BernoulliDistribution
|
|||
/**
|
||||
* Get Ex. kurtosis.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get mode.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -55,9 +55,9 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $t
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $t Value t
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -71,8 +71,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get skewness.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -86,8 +86,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get Fisher information.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -101,8 +101,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get Ex. kurtosis.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -116,9 +116,9 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param int $n
|
||||
* @param int $x
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param int $x Value x
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -140,9 +140,9 @@ class BinomialDistribution
|
|||
*
|
||||
* Formula: C(n, k) * p^k * (1-p)^(n-k)
|
||||
*
|
||||
* @param int $n
|
||||
* @param int $k
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param int $k Value k
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -156,8 +156,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -171,8 +171,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -186,8 +186,8 @@ class BinomialDistribution
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param int $n
|
||||
* @param float $p
|
||||
* @param int $n Value n
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get probability mass function.
|
||||
*
|
||||
* @param float $p
|
||||
* @param int $k
|
||||
* @param float $p Value p
|
||||
* @param int $k Value k
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -42,8 +42,8 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param float $p
|
||||
* @param int $k
|
||||
* @param float $p Value p
|
||||
* @param int $k Value k
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -69,7 +69,7 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -83,7 +83,7 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -97,7 +97,7 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $p Value p
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -111,8 +111,8 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param float $p
|
||||
* @param float $t
|
||||
* @param float $p Value p
|
||||
* @param float $t Value t
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -126,7 +126,7 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get skewness.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -140,7 +140,7 @@ class GeometricDistribution
|
|||
/**
|
||||
* Get Ex. kurtosis.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get probability density function.
|
||||
*
|
||||
* @param float $x
|
||||
* @param float $mu
|
||||
* @param float $b
|
||||
* @param float $x Value x
|
||||
* @param float $mu Value mu
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -43,9 +43,9 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param float $x
|
||||
* @param float $mu
|
||||
* @param float $b
|
||||
* @param float $x Value x
|
||||
* @param float $mu Value mu
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -59,7 +59,7 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get mode.
|
||||
*
|
||||
* @param float $mu
|
||||
* @param float $mu Value mu
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -73,7 +73,7 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $mu
|
||||
* @param float $mu Value mu
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -87,7 +87,7 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $mu
|
||||
* @param float $mu Value mu
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -101,7 +101,7 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param float $b
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -115,9 +115,9 @@ class LaplaceDistribution
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param float $t
|
||||
* @param float $mu
|
||||
* @param float $b
|
||||
* @param float $t Valute t
|
||||
* @param float $mu Value mu
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ class PoissonDistribution
|
|||
*
|
||||
* Formula: e^(k * ln(lambda) - lambda - log(gamma(k+1))
|
||||
*
|
||||
* @param int $k
|
||||
* @param float $lambda
|
||||
* @param int $k Value k
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -46,8 +46,8 @@ class PoissonDistribution
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param int $k
|
||||
* @param float $lambda
|
||||
* @param int $k Value k
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -123,8 +123,8 @@ class PoissonDistribution
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $t
|
||||
* @param float $lambda Lambda
|
||||
* @param float $t Value t
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -138,7 +138,7 @@ class PoissonDistribution
|
|||
/**
|
||||
* Get skewness.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -152,7 +152,7 @@ class PoissonDistribution
|
|||
/**
|
||||
* Get Fisher information.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -166,7 +166,7 @@ class PoissonDistribution
|
|||
/**
|
||||
* Get Ex. kurtosis.
|
||||
*
|
||||
* @param float $lambda
|
||||
* @param float $lambda Lambda
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get mode.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -43,9 +43,9 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get probability density function.
|
||||
*
|
||||
* @param float $x
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $x Value x
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -59,9 +59,9 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param float $x
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $x Value x
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -81,9 +81,9 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param int $t
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param int $t Value t
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -121,8 +121,8 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -136,8 +136,8 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -151,8 +151,8 @@ class UniformDistributionContinuous
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get probability mass function.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -43,9 +43,9 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get cumulative distribution function.
|
||||
*
|
||||
* @param float $k
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $k Value k
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -65,9 +65,9 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get moment generating function.
|
||||
*
|
||||
* @param int $t
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param int $t Value t
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -93,8 +93,8 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get Ex. kurtosis.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -110,8 +110,8 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -125,8 +125,8 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get expected value.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
@ -140,8 +140,8 @@ class UniformDistributionDiscrete
|
|||
/**
|
||||
* Get variance.
|
||||
*
|
||||
* @param float $a
|
||||
* @param float $b
|
||||
* @param float $a Value a
|
||||
* @param float $b Value b
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
|
|
@ -121,9 +121,11 @@ class EmailAbstract
|
|||
/**
|
||||
* Disconnect server
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function disconnect()
|
||||
public function disconnect() /* : void */
|
||||
{
|
||||
if (!isset($this->con)) {
|
||||
imap_close($this->con);
|
||||
|
|
|
|||
|
|
@ -113,6 +113,16 @@ class PhpCode
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate file integrety
|
||||
*
|
||||
* @param string $source Source code
|
||||
* @param string $hash Source hash
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function validateFileIntegrity(string $source, string $hash) : array
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -47,9 +47,11 @@ class Client extends SocketAbstract
|
|||
/**
|
||||
* Disconnect from server.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function disconnect()
|
||||
private function disconnect() /* : void */
|
||||
{
|
||||
$this->run = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ abstract class PacketAbstract implements \Serializable
|
|||
*
|
||||
* This is using a json format
|
||||
*
|
||||
* @var Header
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract public function __toString();
|
||||
|
|
@ -52,7 +51,6 @@ abstract class PacketAbstract implements \Serializable
|
|||
*
|
||||
* @return string Json string
|
||||
*
|
||||
* @var Header
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract public function serialize();
|
||||
|
|
@ -64,7 +62,8 @@ abstract class PacketAbstract implements \Serializable
|
|||
*
|
||||
* @param string $string Json string
|
||||
*
|
||||
* @var Header
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract public function unserialize($string);
|
||||
|
|
@ -74,7 +73,6 @@ abstract class PacketAbstract implements \Serializable
|
|||
*
|
||||
* @return Header
|
||||
*
|
||||
* @var Header
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getHeader() : Header
|
||||
|
|
@ -87,7 +85,8 @@ abstract class PacketAbstract implements \Serializable
|
|||
*
|
||||
* @param Header $header Header
|
||||
*
|
||||
* @var Header
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setHeader(Header $header) /* : void */
|
||||
|
|
|
|||
|
|
@ -38,14 +38,18 @@ interface SocketInterface
|
|||
/**
|
||||
* Close socket.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function close();
|
||||
public function close(); /* : void */
|
||||
|
||||
/**
|
||||
* Run socket.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function run();
|
||||
public function run(); /* : void */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,9 +123,11 @@ class BinaryTree extends Tree
|
|||
* @param Node $node Tree node
|
||||
* @param \Closure $callback Task to perform on node
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function inOrder(Node $node, \Closure $callback)
|
||||
public function inOrder(Node $node, \Closure $callback) /* : void */
|
||||
{
|
||||
$this->inOrder($this->getLeft($node), $callback);
|
||||
$callback($node);
|
||||
|
|
@ -137,11 +139,13 @@ class BinaryTree extends Tree
|
|||
*
|
||||
* @param Node $node Tree node
|
||||
* @param int $horizontalDistance Horizontal distance
|
||||
* @param Node[] &$order Ordered nodes by horizontal distance
|
||||
* @param Node[] $order Ordered nodes by horizontal distance
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function getVerticalOrder(Node $node, int $horizontalDistance = 0, array &$order)
|
||||
private function getVerticalOrder(Node $node, int $horizontalDistance = 0, array &$order) /* : void */
|
||||
{
|
||||
if (!isset($order[$horizontalDistance])) {
|
||||
$order[$horizontalDistance] = [];
|
||||
|
|
|
|||
|
|
@ -145,6 +145,8 @@ abstract class C128Abstract
|
|||
*
|
||||
* @param int $width Barcode width
|
||||
* @param int $height Barcode height
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -166,6 +168,8 @@ abstract class C128Abstract
|
|||
* Set barcode margins
|
||||
*
|
||||
* @param int $margin Barcode margin
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -178,6 +182,8 @@ abstract class C128Abstract
|
|||
* Set barcode orientation
|
||||
*
|
||||
* @param int $orientation Barcode orientation
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -206,6 +212,8 @@ abstract class C128Abstract
|
|||
* Set content to encrypt
|
||||
*
|
||||
* @param string $content Barcode content
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -87,6 +87,8 @@ class C25 extends C128Abstract
|
|||
* Set content to encrypt
|
||||
*
|
||||
* @param string $content Barcode content
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ class C39 extends C128Abstract
|
|||
* Set content to encrypt
|
||||
*
|
||||
* @param string $content Barcode content
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ class Codebar extends C128Abstract
|
|||
* Set content to encrypt
|
||||
*
|
||||
* @param string $content Barcode content
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Speed type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Area type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Uri\Http;
|
|||
/**
|
||||
* Currency converter.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Speed type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Converter;
|
|||
/**
|
||||
* File converter.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* File size type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Converter;
|
|||
/**
|
||||
* Ip converter.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
@ -40,6 +40,8 @@ class Ip
|
|||
* Convert ip to float
|
||||
*
|
||||
* @param string $ip IP
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Length type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Converter;
|
|||
/**
|
||||
* Measurement converter.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Converter;
|
|||
/**
|
||||
* Numeric converter.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Speed type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Speed type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Temperature type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Time type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Volume type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
/**
|
||||
* Weight type enum.
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Converter
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Git;
|
|||
/**
|
||||
* Gray encoding class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Git;
|
|||
/**
|
||||
* Gray encoding class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Git;
|
|||
/**
|
||||
* Gray encoding class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\System\File\PathException;
|
|||
/**
|
||||
* Gray encoding class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -20,7 +20,7 @@ use phpOMS\Utils\StringUtils;
|
|||
/**
|
||||
* Repository class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* PHP Version 7.1
|
||||
*
|
||||
* @package TBD
|
||||
* @package phpOMS\Utils\Git
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\Utils\Git;
|
|||
/**
|
||||
* Gray encoding class
|
||||
*
|
||||
* @package Framework
|
||||
* @package phpOMS\Utils\Git
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user