docblocks

This commit is contained in:
Dennis Eichhorn 2018-02-17 18:31:23 +01:00
parent 4c04ce01c2
commit 5a7c138be0
2 changed files with 17 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* *
* PHP Version 7.1 * PHP Version 7.1
* *
* @package TBD * @package phpOMS\DataStorage\Database\Query
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
/** /**
* Database query builder. * Database query builder.
* *
* @package Framework * @package phpOMS\DataStorage\Database\Query
* @license OMS License 1.0 * @license OMS License 1.0
* @link http://website.orange-management.de * @link http://website.orange-management.de
* @since 1.0.0 * @since 1.0.0
@ -234,7 +234,7 @@ class Builder extends BuilderAbstract
* *
* @param ConnectionAbstract $connection Database connection * @param ConnectionAbstract $connection Database connection
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
@ -1075,7 +1075,7 @@ class Builder extends BuilderAbstract
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function join($table1, $table2, $column1, $opperator, $column2) public function join($table1, $table2, $column1, $opperator, $column2) : Builder
{ {
return $this; return $this;
} }

View File

@ -161,6 +161,8 @@ class FileLogger implements LoggerInterface
/** /**
* Protect instance from getting copied from outside. * Protect instance from getting copied from outside.
*
* @return void
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
@ -373,6 +375,8 @@ class FileLogger implements LoggerInterface
* Analyse logging file. * Analyse logging file.
* *
* @return array * @return array
*
* @since 1.0.0
*/ */
public function countLogs() public function countLogs()
{ {
@ -407,6 +411,8 @@ class FileLogger implements LoggerInterface
* @param int $limit Amout of perpetrators * @param int $limit Amout of perpetrators
* *
* @return array * @return array
*
* @since 1.0.0
*/ */
public function getHighestPerpetrator(int $limit = 10) : array public function getHighestPerpetrator(int $limit = 10) : array
{ {
@ -443,6 +449,8 @@ class FileLogger implements LoggerInterface
* @param int $offset Offset * @param int $offset Offset
* *
* @return array * @return array
*
* @since 1.0.0
*/ */
public function get(int $limit = 25, int $offset = 0) : array public function get(int $limit = 25, int $offset = 0) : array
{ {
@ -490,6 +498,8 @@ class FileLogger implements LoggerInterface
* @param int $id Id/Line number of the logging message * @param int $id Id/Line number of the logging message
* *
* @return array * @return array
*
* @since 1.0.0
*/ */
public function getByLine(int $id = 1) : array public function getByLine(int $id = 1) : array
{ {
@ -535,7 +545,10 @@ class FileLogger implements LoggerInterface
* @param string $message Log message * @param string $message Log message
* @param bool $verbose Is verbose * @param bool $verbose Is verbose
* @param array $context Context * @param array $context Context
*
* @return void
* *
* @since 1.0.0
*/ */
public function console(string $message, bool $verbose = true, array $context = []) /* : void */ public function console(string $message, bool $verbose = true, array $context = []) /* : void */
{ {