Preparing for void return type

This commit is contained in:
Dennis Eichhorn 2016-12-03 21:59:21 +01:00
parent 7bd0bc7067
commit ab5e11a242
77 changed files with 196 additions and 196 deletions

View File

@ -199,7 +199,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setL11n(Localization $l11n)
public function setL11n(Localization $l11n) /* : void */
{
$this->l11n = $l11n;
}
@ -322,7 +322,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName1(string $name)
public function setName1(string $name) /* : void */
{
$this->name1 = $name;
}
@ -337,7 +337,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName2(string $name)
public function setName2(string $name) /* : void */
{
$this->name2 = $name;
}
@ -352,7 +352,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName3(string $name)
public function setName3(string $name) /* : void */
{
$this->name3 = $name;
}
@ -367,7 +367,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setEmail(string $email)
public function setEmail(string $email) /* : void */
{
if (!Email::isValid($email)) {
throw new \InvalidArgumentException();
@ -386,7 +386,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
if (!AccountStatus::isValidValue($status)) {
throw new \InvalidArgumentException();
@ -405,7 +405,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setType(int $type)
public function setType(int $type) /* : void */
{
if (!AccountType::isValidValue($type)) {
throw new \InvalidArgumentException();

View File

@ -148,7 +148,7 @@ class Group implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName(string $name)
public function setName(string $name) /* : void */
{
$this->name = $name;
}
@ -174,7 +174,7 @@ class Group implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDescription(string $description)
public function setDescription(string $description) /* : void */
{
$this->description = $description;
}
@ -200,7 +200,7 @@ class Group implements ArrayableInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
// todo: check valid
$this->status = $status;

View File

@ -54,22 +54,22 @@ class Backpack
return true;
}
public function setPopulationItem(ItemInterface $item)
public function setPopulationItem(ItemInterface $item) /* : void */
{
$this->population[$item->getId()] = $item;
}
public function setCostCalculation(\Closure $callback)
public function setCostCalculation(\Closure $callback) /* : void */
{
}
public function setValueCalculation(\Closure $callback)
public function setValueCalculation(\Closure $callback) /* : void */
{
}
public function setTestPopulationBuilder(\Closure $callback)
public function setTestPopulationBuilder(\Closure $callback) /* : void */
{
}

View File

@ -131,7 +131,7 @@ abstract class SettingsAbstract implements OptionsInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function set(array $options, bool $store = false)
public function set(array $options, bool $store = false) /* : void */
{
$this->setOptions($options);

View File

@ -136,7 +136,7 @@ class FileCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function set($key, $value, int $expire = -1)
public function set($key, $value, int $expire = -1) /* : void */
{
if($this->status !== CacheStatus::ACTIVE) {
return false;

View File

@ -74,7 +74,7 @@ class MemCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function set($key, $value, int $expire = -1)
public function set($key, $value, int $expire = -1) /* : void */
{
$this->memc->set($key, $value, false, $expire);
}
@ -151,7 +151,7 @@ class MemCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
$this->status = $status;
}

View File

@ -32,7 +32,7 @@ class NullCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function set($key, $value, int $expire = -1)
public function set($key, $value, int $expire = -1) /* : void */
{
// TODO: Implement set() method.
}
@ -108,7 +108,7 @@ class NullCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
// TODO: Implement setStatus() method.
}

View File

@ -34,7 +34,7 @@ class RedisCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function set($key, $value, int $expire = -1)
public function set($key, $value, int $expire = -1) /* : void */
{
// TODO: Implement set() method.
}
@ -110,7 +110,7 @@ class RedisCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
// TODO: Implement setStatus() method.
}

View File

@ -34,7 +34,7 @@ class WinCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function set($key, $value, int $expire = -1)
public function set($key, $value, int $expire = -1) /* : void */
{
// TODO: Implement set() method.
}
@ -110,7 +110,7 @@ class WinCache implements CacheInterface
/**
* {@inheritdoc}
*/
public function setStatus(int $status)
public function setStatus(int $status) /* : void */
{
// TODO: Implement setStatus() method.
}

View File

@ -175,7 +175,7 @@ class DataMapperAbstract implements DataMapperInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function setConnection(ConnectionAbstract $con)
public static function setConnection(ConnectionAbstract $con) /* : void */
{
self::$db = $con;
}
@ -425,7 +425,7 @@ class DataMapperAbstract implements DataMapperInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private static function setObjectId(\ReflectionClass $reflectionClass, $obj, $objId)
private static function setObjectId(\ReflectionClass $reflectionClass, $obj, $objId) /* : void */
{
$reflectionProperty = $reflectionClass->getProperty(static::$columns[static::$primaryField]['internal']);

View File

@ -147,7 +147,7 @@ abstract class GrammarAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTablePrefix(string $prefix)
public function setTablePrefix(string $prefix) /* : void */
{
$this->tablePrefix = $prefix;
}

View File

@ -226,7 +226,7 @@ class Builder extends BuilderAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setConnection(ConnectionAbstract $connection)
public function setConnection(ConnectionAbstract $connection) /* : void */
{
$this->connection = $connection;
$this->grammar = $connection->getGrammar();

View File

@ -64,7 +64,7 @@ class Column
return $this->column;
}
public function setColumn(string $column)
public function setColumn(string $column) /* : void */
{
$this->column = $column;
}

View File

@ -51,7 +51,7 @@ class Builder extends BuilderAbstract
$this->grammar = $connection->getSchemaGrammar();
}
public function select(...$table)
public function select(...$table) /* : void */
{
$this->type = QueryType::SELECT;
$this->table += $table;

View File

@ -84,7 +84,7 @@ class ConsoleSession implements SessionInterface
/**
* {@inheritdoc}
*/
public function setSID($sid)
public function setSID($sid) /* : void */
{
$this->sid = $sid;
}

View File

@ -93,7 +93,7 @@ class HttpSession implements SessionInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function setCsrfProtection()
private function setCsrfProtection() /* : void */
{
$this->set('UID', 0, false);
@ -187,7 +187,7 @@ class HttpSession implements SessionInterface
/**
* {@inheritdoc}
*/
public function setSID($sid)
public function setSID($sid) /* : void */
{
$this->sid = $sid;
}

View File

@ -84,7 +84,7 @@ class SocketSession implements SessionInterface
/**
* {@inheritdoc}
*/
public function setSID($sid)
public function setSID($sid) /* : void */
{
$this->sid = $sid;
}

View File

@ -87,7 +87,7 @@ class Address implements \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setRecipient(string $recipient)
public function setRecipient(string $recipient) /* : void */
{
$this->recipient = $recipient;
}
@ -115,7 +115,7 @@ class Address implements \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setFAO(string $fao)
public function setFAO(string $fao) /* : void */
{
$this->fao = $fao;
}
@ -143,7 +143,7 @@ class Address implements \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLocation(Location $location)
public function setLocation(Location $location) /* : void */
{
$this->location = $location;
}

View File

@ -20,7 +20,7 @@ class ExactFloat
private static $length = 0;
public static function setLength($length)
public static function setLength($length) /* : void */
{
self::$length = (int) $length;
}

View File

@ -276,7 +276,7 @@ class Iban implements \Serializable
* @return string the string representation of the object or null
* @since 5.1.0
*/
public function serialize()
public function serialize() /* : void */
{
return $this->prettyPrint();
}

View File

@ -106,7 +106,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setPostal(string $postal)
public function setPostal(string $postal) /* : void */
{
$this->postal = $postal;
}
@ -130,7 +130,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCity(string $city)
public function setCity(string $city) /* : void */
{
$this->city = $city;
}
@ -154,7 +154,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCountry(string $country)
public function setCountry(string $country) /* : void */
{
$this->country = $country;
}
@ -178,7 +178,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAddress(string $address)
public function setAddress(string $address) /* : void */
{
$this->address = $address;
}
@ -202,7 +202,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setState(string $state)
public function setState(string $state) /* : void */
{
$this->state = $state;
}
@ -226,7 +226,7 @@ class Location implements \JsonSerializable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setGeo(array $geo)
public function setGeo(array $geo) /* : void */
{
$this->geo = $geo;
}
@ -237,7 +237,7 @@ class Location implements \JsonSerializable, \Serializable
* @return string the string representation of the object or null
* @since 5.1.0
*/
public function serialize()
public function serialize() /* : void */
{
return $this->jsonSerialize();
}

View File

@ -171,7 +171,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCountry(string $country)
public function setCountry(string $country) /* : void */
{
if (!ISO3166TwoEnum::isValidValue($country)) {
throw new InvalidEnumValue($country);
@ -199,7 +199,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTimezone(string $timezone)
public function setTimezone(string $timezone) /* : void */
{
if (!TimeZoneEnumArray::isValidValue($timezone)) {
throw new InvalidEnumValue($timezone);
@ -229,7 +229,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLanguage(string $language)
public function setLanguage(string $language) /* : void */
{
if (!ISO639x1Enum::isValidValue($language)) {
throw new InvalidEnumValue($language);
@ -257,7 +257,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCurrency(string $currency)
public function setCurrency(string $currency) /* : void */
{
if (!ISO4217Enum::isValidValue($currency)) {
throw new InvalidEnumValue($currency);
@ -285,7 +285,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDatetime(string $datetime)
public function setDatetime(string $datetime) /* : void */
{
$this->datetime = $datetime;
}
@ -309,7 +309,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDecimal(string $decimal)
public function setDecimal(string $decimal) /* : void */
{
$this->decimal = $decimal;
}
@ -333,7 +333,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setThousands(string $thousands)
public function setThousands(string $thousands) /* : void */
{
$this->thousands = $thousands;
}
@ -357,7 +357,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAngle(string $angle)
public function setAngle(string $angle) /* : void */
{
$this->angle = $angle;
}
@ -381,7 +381,7 @@ class Localization
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTemperature(string $temperature)
public function setTemperature(string $temperature) /* : void */
{
$this->temperature = $temperature;
}

View File

@ -139,7 +139,7 @@ class Money implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLocalization(string $thousands = ',', string $decimal = '.', string $symbol = '', int $position = 0)
public function setLocalization(string $thousands = ',', string $decimal = '.', string $symbol = '', int $position = 0) /* : void */
{
$this->thousands = $thousands;
$this->decimal = $decimal;
@ -345,7 +345,7 @@ class Money implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
return $this->getInt();
}

View File

@ -92,7 +92,7 @@ class Matrix implements \ArrayAccess, \Iterator
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function set(int $m, int $n, $value)
public function set(int $m, int $n, $value) /* : void */
{
if (!isset($this->matrix[$m][$n])) {
throw new DimensionException($m, $n);

View File

@ -25,11 +25,11 @@ class Complex
{
}
public function setReal()
public function setReal() /* : void */
{
}
public function setImaginary()
public function setImaginary() /* : void */
{
}

View File

@ -79,7 +79,7 @@ class Population implements \Countable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function set(int $index, Tour $tour)
public function set(int $index, Tour $tour) /* : void */
{
$this->tours[$index] = $tour;
asort($this->tours);

View File

@ -164,7 +164,7 @@ class Tour implements \Countable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCity(int $index, City $city)
public function setCity(int $index, City $city) /* : void */
{
$this->cities[$index] = $city;
asort($this->cities);

View File

@ -201,7 +201,7 @@ class Polygon implements D2ShapeInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCoordinates($coord)
public function setCoordinates($coord) /* : void */
{
$this->coord = $coord;
}
@ -218,7 +218,7 @@ class Polygon implements D2ShapeInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCoordinate($i, $x, $y)
public function setCoordinate($i, $x, $y) /* : void */
{
$this->coord[$i] = ['x' => $x, 'y' => $y];
}
@ -278,7 +278,7 @@ class Polygon implements D2ShapeInterface
/**
* {@inheritdoc}
*/
public function setSurface($surface)
public function setSurface($surface) /* : void */
{
$this->reset();
@ -326,7 +326,7 @@ class Polygon implements D2ShapeInterface
/**
* {@inheritdoc}
*/
public function setPerimeter($perimeter)
public function setPerimeter($perimeter) /* : void */
{
$this->reset();

View File

@ -196,7 +196,7 @@ class Request extends RequestAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function setupUriBuilder()
private function setupUriBuilder() /* : void */
{
UriFactory::setQuery('/scheme', $this->uri->getScheme());
UriFactory::setQuery('/host', $this->uri->getHost());

View File

@ -58,7 +58,7 @@ class Response extends ResponseAbstract implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setResponse(array $response)
public function setResponse(array $response) /* : void */
{
$this->response = $response;
}

View File

@ -44,7 +44,7 @@ class Rest
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setRequest(Request $request)
public function setRequest(Request $request) /* : void */
{
$this->request = $request;
}

View File

@ -208,7 +208,7 @@ class Mail
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setBody(string $body)
public function setBody(string $body) /* : void */
{
$this->body = $body;
}
@ -223,7 +223,7 @@ class Mail
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setOverview(string $overview)
public function setOverview(string $overview) /* : void */
{
$this->overview = $overview;
}
@ -238,7 +238,7 @@ class Mail
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setEncoding(int $encoding)
public function setEncoding(int $encoding) /* : void */
{
$this->encoding = $encoding;
}

View File

@ -163,7 +163,7 @@ abstract class RequestAbstract implements MessageInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setUri(UriInterface $uri)
public function setUri(UriInterface $uri) /* : void */
{
$this->uri = $uri;
}
@ -192,7 +192,7 @@ abstract class RequestAbstract implements MessageInterface
/**
* {@inheritdoc}
*/
public function setRequestSource($source)
public function setRequestSource($source) /* : void */
{
if (!RequestSource::isValidValue($source)) {
throw new InvalidEnumValue($source);
@ -219,7 +219,7 @@ abstract class RequestAbstract implements MessageInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMethod(string $method)
public function setMethod(string $method) /* : void */
{
$this->method = $method;
}
@ -246,7 +246,7 @@ abstract class RequestAbstract implements MessageInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setType(string $type)
public function setType(string $type) /* : void */
{
$this->type = $type;
}
@ -332,7 +332,7 @@ abstract class RequestAbstract implements MessageInterface
/**
* {@inheritdoc}
*/
public function setAccount(int $account)
public function setAccount(int $account) /* : void */
{
$this->account = $account;
}
@ -340,7 +340,7 @@ abstract class RequestAbstract implements MessageInterface
/**
* {@inheritdoc}
*/
public function setStatusCode(string $status)
public function setStatusCode(string $status) /* : void */
{
$this->status = $status;
}

View File

@ -107,7 +107,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function set($key, $response, bool $overwrite = true)
public function set($key, $response, bool $overwrite = true) /* : void */
{
$this->response = ArrayUtils::setArray($key, $this->response, $response, ':', $overwrite);
}
@ -116,7 +116,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
* {@inheritdoc}
* todo: shouldn't this only be available in the header?!
*/
public function setStatusCode(string $status)
public function setStatusCode(string $status) /* : void */
{
$this->status = $status;
$this->header->generate($status);
@ -142,7 +142,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
/**
* {@inheritdoc}
*/
public function setAccount(int $account)
public function setAccount(int $account) /* : void */
{
$this->account = $account;
}

View File

@ -138,7 +138,7 @@ class Head implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTitle(string $title)
public function setTitle(string $title) /* : void */
{
$this->title = $title;
}
@ -169,7 +169,7 @@ class Head implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLanguage(string $language)
public function setLanguage(string $language) /* : void */
{
$this->language = $language;
}
@ -242,7 +242,7 @@ class Head implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStyle(string $key, string $style, bool $overwrite = true)
public function setStyle(string $key, string $style, bool $overwrite = true) /* : void */
{
if ($overwrite || !isset($this->script[$key])) {
$this->style[$key] = $style;
@ -261,7 +261,7 @@ class Head implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setScript(string $key, string $script, bool $overwrite = true)
public function setScript(string $key, string $script, bool $overwrite = true) /* : void */
{
if ($overwrite || !isset($this->script[$key])) {
$this->script[$key] = $script;

View File

@ -124,7 +124,7 @@ class Meta implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAuthor(string $author)
public function setAuthor(string $author) /* : void */
{
$this->author = $author;
}
@ -152,7 +152,7 @@ class Meta implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCharset(string $charset)
public function setCharset(string $charset) /* : void */
{
$this->charset = $charset;
}
@ -180,7 +180,7 @@ class Meta implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDescription(string $description)
public function setDescription(string $description) /* : void */
{
$this->description = $description;
}
@ -208,7 +208,7 @@ class Meta implements RenderableInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLanguage(string $language)
public function setLanguage(string $language) /* : void */
{
$this->language = $language;
}

View File

@ -103,7 +103,7 @@ class InfoManager
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function set(string $path, $data, string $delim = '/')
public function set(string $path, $data, string $delim = '/') /* : void */
{
if (!is_scalar($data) || !is_array($data)) {
throw new \InvalidArgumentException('Type of $data "' . gettype($data) . '" is not supported.');

View File

@ -101,7 +101,7 @@ class Encryption
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setKey(string $key)
public function setKey(string $key) /* : void */
{
$this->key = $key;
}
@ -129,7 +129,7 @@ class Encryption
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCipher(string $key)
public function setCipher(string $key) /* : void */
{
$this->key = $key;
}
@ -157,7 +157,7 @@ class Encryption
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setBlock(int $block)
public function setBlock(int $block) /* : void */
{
$this->block = $block;
}
@ -185,7 +185,7 @@ class Encryption
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMode(string $mode)
public function setMode(string $mode) /* : void */
{
$this->mode = $mode;
}

View File

@ -50,7 +50,7 @@ class ClientConnection
return $this->socket;
}
public function setSocket($socket)
public function setSocket($socket) /* : void */
{
$this->socket = $socket;
}
@ -60,7 +60,7 @@ class ClientConnection
return $this->handshake;
}
public function setHandshake($handshake)
public function setHandshake($handshake) /* : void */
{
$this->handshake = $handshake;
}
@ -70,7 +70,7 @@ class ClientConnection
return $this->pid;
}
public function setPid($pid)
public function setPid($pid) /* : void */
{
$this->pid = $pid;
}
@ -80,7 +80,7 @@ class ClientConnection
return $this->connected;
}
public function setConnected(bool $connected)
public function setConnected(bool $connected) /* : void */
{
$this->connected = $connected;
}

View File

@ -63,7 +63,7 @@ class Header implements \Serializable
return $this->sendFrom;
}
public function setSendFrom($sendFrom)
public function setSendFrom($sendFrom) /* : void */
{
$this->sendFrom = $sendFrom;
}
@ -73,7 +73,7 @@ class Header implements \Serializable
return $this->sendTo;
}
public function setSendTo($sendTo)
public function setSendTo($sendTo) /* : void */
{
$this->sendTo = $sendTo;
}
@ -97,7 +97,7 @@ class Header implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLength($length)
public function setLength($length) /* : void */
{
$this->length = $length;
}
@ -121,7 +121,7 @@ class Header implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setType($type)
public function setType($type) /* : void */
{
$this->type = $type;
}
@ -145,7 +145,7 @@ class Header implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setSubtype($subtype)
public function setSubtype($subtype) /* : void */
{
$this->subtype = $subtype;
}
@ -158,7 +158,7 @@ class Header implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
return $this->__toString();
}

View File

@ -95,7 +95,7 @@ abstract class PacketAbstract implements \Serializable
* @var Header
* @since 1.0.0
*/
public function setHeader(Header $header)
public function setHeader(Header $header) /* : void */
{
$this->header = $header;
}

View File

@ -127,7 +127,7 @@ class Server extends SocketAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLimit(int $limit)
public function setLimit(int $limit) /* : void */
{
$this->limit = $limit;
}

View File

@ -567,7 +567,7 @@ class Collection implements \Countable, \ArrayAccess, \Iterator, \JsonSerializab
return $total;
}
public function search($filter, bool $strict = true)
public function search($filter, bool $strict = true) /* : void */
{
if (is_scalar($filter)) {
array_search($filter, $this->collection, $strict);

View File

@ -114,7 +114,7 @@ class BinaryTree extends Tree
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setRight(Node $base, Node $right)
public function setRight(Node $base, Node $right) /* : void */
{
if($this->getRight($base) === null) {
$this->addNode($base, $right);

View File

@ -107,7 +107,7 @@ class Graph
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setEdge($key, Edge $edge)
public function setEdge($key, Edge $edge) /* : void */
{
$this->edges[$key] = $edge;

View File

@ -163,7 +163,7 @@ class PriorityQueue implements \Countable, \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setPriority(int $id, float $priority)
public function setPriority(int $id, float $priority) /* : void */
{
$this->queue[$id]['priority'] = $priority;
}

View File

@ -145,7 +145,7 @@ class Http implements UriInterface
/**
* {@inheritdoc}
*/
public function set(string $uri)
public function set(string $uri) /* : void */
{
$this->uri = $uri;
$url = parse_url($this->uri);
@ -210,7 +210,7 @@ class Http implements UriInterface
/**
* {@inheritdoc}
*/
public function setRootPath(string $root)
public function setRootPath(string $root) /* : void */
{
$this->rootPath = $root;
$this->set($this->uri);

View File

@ -155,7 +155,7 @@ abstract class C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setSize(int $size)
public function setSize(int $size) /* : void */
{
if ($size < 0) {
throw new \OutOfBoundsException($size);
@ -172,7 +172,7 @@ abstract class C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setOrientation(int $orientation)
public function setOrientation(int $orientation) /* : void */
{
if (!OrientationType::isValidValue($orientation)) {
throw new InvalidEnumValue($orientation);
@ -202,7 +202,7 @@ abstract class C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setContent(string $content)
public function setContent(string $content) /* : void */
{
$this->content = $content;
}

View File

@ -108,7 +108,7 @@ class C128a extends C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setContent(string $content)
public function setContent(string $content) /* : void */
{
parent::setContent(strtoupper($content));
}

View File

@ -93,7 +93,7 @@ class C25 extends C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setContent(string $content)
public function setContent(string $content) /* : void */
{
if (!ctype_digit($content)) {
throw new \InvalidArgumentException($content);

View File

@ -88,7 +88,7 @@ class C39 extends C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setContent(string $content)
public function setContent(string $content) /* : void */
{
parent::setContent(strtoupper($content));
}

View File

@ -89,7 +89,7 @@ class Codebar extends C128Abstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function setContent(string $content)
public function setContent(string $content) /* : void */
{
parent::setContent(strtoupper($content));
}

View File

@ -143,7 +143,7 @@ final class Dictionary
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function set(string $entry, string $value)
public function set(string $entry, string $value) /* : void */
{
if (strlen($entry) !== 1) {
throw new \Exception('Must be a character.');

View File

@ -68,7 +68,7 @@ final class Huffman
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDictionary(Dictionary $dictionary)
public function setDictionary(Dictionary $dictionary) /* : void */
{
$this->dictionary = $dictionary;
}

View File

@ -132,7 +132,7 @@ class Author
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCommitCount(int $count)
public function setCommitCount(int $count) /* : void */
{
$this->commitCount = $count;
}
@ -147,7 +147,7 @@ class Author
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAdditionCount(int $count)
public function setAdditionCount(int $count) /* : void */
{
$this->additionsCount = $count;
}
@ -175,7 +175,7 @@ class Author
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setRemovalCount(int $count)
public function setRemovalCount(int $count) /* : void */
{
$this->removalsCount = $count;
}

View File

@ -70,7 +70,7 @@ class Branch
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName(string $name)
public function setName(string $name) /* : void */
{
$this->name = escapeshellarg($name);
}

View File

@ -163,7 +163,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMessage(string $message)
public function setMessage(string $message) /* : void */
{
$this->message = $message;
}
@ -223,7 +223,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAuthor(Author $author)
public function setAuthor(Author $author) /* : void */
{
$this->author = $author;
}
@ -249,7 +249,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setBranch(Branch $branch)
public function setBranch(Branch $branch) /* : void */
{
$this->branch = $branch;
}
@ -275,7 +275,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTag(Tag $tag)
public function setTag(Tag $tag) /* : void */
{
$this->tag = $tag;
}
@ -303,7 +303,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDate(\DateTime $date)
public function setDate(\DateTime $date) /* : void */
{
$this->date = $date;
}
@ -329,7 +329,7 @@ class Commit
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setRepository(Repository $repository)
public function setRepository(Repository $repository) /* : void */
{
$this->repository = $repository;
}

View File

@ -84,7 +84,7 @@ class Git
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function setBin(string $path)
public static function setBin(string $path) /* : void */
{
if (realpath($path) === false) {
throw new PathException($path);

View File

@ -87,7 +87,7 @@ class Repository
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function setPath(string $path)
private function setPath(string $path) /* : void */
{
if (!is_dir($path)) {
throw new PathException($path);
@ -604,7 +604,7 @@ class Repository
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDescription(string $description)
public function setDescription(string $description) /* : void */
{
file_put_contents($this->getDirectoryPath(), $description);
}

View File

@ -78,7 +78,7 @@ class Tag
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMessage(string $message)
public function setMessage(string $message) /* : void */
{
$this->message = escapeshellarg($message);
}

View File

@ -43,7 +43,7 @@ class CsvDatabaseMapper implements IODatabaseMapper
$this->sources = array_unique($this->sources);
}
public function setSources(array $sources)
public function setSources(array $sources) /* : void */
{
$this->sources = $sources;
}
@ -53,7 +53,7 @@ class CsvDatabaseMapper implements IODatabaseMapper
$this->autoIdentifyCsvSettings = $identify;
}
public function setLineBuffer(int $buffer)
public function setLineBuffer(int $buffer) /* : void */
{
$this->lineBuffer = $buffer;
}

View File

@ -27,12 +27,12 @@ class ExcelDatabaseMapper implements IODatabaseMapper
$this->sources[] = $source;
}
public function setLineBuffer(int $buffer)
public function setLineBuffer(int $buffer) /* : void */
{
$this->lineBuffer = $buffer;
}
public function setSources(array $sources)
public function setSources(array $sources) /* : void */
{
$this->sources = $sources;
}

View File

@ -48,7 +48,7 @@ class Job
return $this->priority;
}
public function setPriority(float $priority)
public function setPriority(float $priority) /* : void */
{
$this->priority = $priority;
}

View File

@ -101,7 +101,7 @@ class JobQueue
register_shutdown_function('shutdown');
}
public function setRunning(bool $run = true)
public function setRunning(bool $run = true) /* : void */
{
$this->run = $run;
$this->suspended = $run;
@ -117,7 +117,7 @@ class JobQueue
return $this->suspended;
}
public function setSuspended(bool $suspended = true)
public function setSuspended(bool $suspended = true) /* : void */
{
$this->suspended = $suspended;
}
@ -127,7 +127,7 @@ class JobQueue
return $this->isTerminating;
}
public function setTerminating(bool $terminating = true)
public function setTerminating(bool $terminating = true) /* : void */
{
$this->isTerminating = $terminating;
}
@ -137,7 +137,7 @@ class JobQueue
return $this->isDeamonized;
}
public function setDeamonized(bool $deamonized)
public function setDeamonized(bool $deamonized) /* : void */
{
$this->isDeamonized = $deamonized;
}

View File

@ -98,7 +98,7 @@ class JsonBuilder implements \Serializable
* @return string the string representation of the object or null
* @since 5.1.0
*/
public function serialize()
public function serialize() /* : void */
{
return json_encode($this->json);
}

View File

@ -167,7 +167,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setFinal(bool $final)
public function setFinal(bool $final) /* : void */
{
$this->isFinal = $final;
}
@ -195,7 +195,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAbstract(bool $abstract)
public function setAbstract(bool $abstract) /* : void */
{
$this->isAbstract = $abstract;
}
@ -238,7 +238,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setType(string $type)
public function setType(string $type) /* : void */
{
$this->type = $type;
}
@ -266,7 +266,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setExtends(string $extends)
public function setExtends(string $extends) /* : void */
{
$this->extends = $extends;
}
@ -307,7 +307,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setNamespace(string $namespace)
public function setNamespace(string $namespace) /* : void */
{
$this->namespace = $namespace;
}
@ -389,7 +389,7 @@ class ClassParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName(string $name)
public function setName(string $name) /* : void */
{
$this->name = $name;
}

View File

@ -117,7 +117,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName(string $name)
public function setName(string $name) /* : void */
{
$this->name = $name;
}
@ -132,7 +132,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function seBody(string $body)
public function seBody(string $body) /* : void */
{
$this->body = $body;
}
@ -186,7 +186,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setVisibility(string $visibility)
public function setVisibility(string $visibility) /* : void */
{
$this->visibility = $visibility;
}
@ -201,7 +201,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStatic(bool $static)
public function setStatic(bool $static) /* : void */
{
$this->isStatic = $static;
}
@ -229,7 +229,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setFinal(bool $final)
public function setFinal(bool $final) /* : void */
{
$this->isFinal = $final;
}
@ -257,7 +257,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAbstract(bool $abstract)
public function setAbstract(bool $abstract) /* : void */
{
$this->isAbstract = $abstract;
@ -317,7 +317,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setReturn(string $return)
public function setReturn(string $return) /* : void */
{
$this->return = $return;
}
@ -356,7 +356,7 @@ class FunctionParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
$function = '';
$function .= str_repeat(' ', ClassParser::INDENT);

View File

@ -93,7 +93,7 @@ class MemberParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setName(string $name)
public function setName(string $name) /* : void */
{
$this->name = $name;
}
@ -121,7 +121,7 @@ class MemberParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setVisibility(string $visibility)
public function setVisibility(string $visibility) /* : void */
{
$this->visibility = $visibility;
}
@ -136,7 +136,7 @@ class MemberParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStatic(bool $static)
public function setStatic(bool $static) /* : void */
{
$this->isStatic = $static;
@ -168,7 +168,7 @@ class MemberParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setConst(bool $const)
public function setConst(bool $const) /* : void */
{
$this->isConst = $const;
@ -200,7 +200,7 @@ class MemberParser
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDefault($default)
public function setDefault($default) /* : void */
{
$this->default = $default;
}

View File

@ -248,7 +248,7 @@ class Text
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setFormatting($hasFormatting)
public function setFormatting($hasFormatting) /* : void */
{
$this->hasFormatting = $hasFormatting;
}
@ -263,7 +263,7 @@ class Text
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setParagraphs($hasParagraphs)
public function setParagraphs($hasParagraphs) /* : void */
{
$this->hasParagraphs = $hasParagraphs;
}

View File

@ -57,7 +57,7 @@ class CronJob extends TaskAbstract implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
$minute = $this->printValue($this->interval->getMinute());
$hour = $this->printValue($this->interval->getHour());

View File

@ -243,7 +243,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStart(\DateTime $start)
public function setStart(\DateTime $start) /* : void */
{
$this->start = $start;
}
@ -271,7 +271,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setEnd(\DateTime $end)
public function setEnd(\DateTime $end) /* : void */
{
$this->end = $end;
}
@ -301,7 +301,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMinute(array $minute, int $step = 0, bool $any = false)
public function setMinute(array $minute, int $step = 0, bool $any = false) /* : void */
{
if ($this->validateTime($minute, $step, 0, 59)) {
$this->hour = [
@ -367,7 +367,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setHour(array $hour, int $step = 0, bool $any = false)
public function setHour(array $hour, int $step = 0, bool $any = false) /* : void */
{
if ($this->validateTime($hour, $step, 0, 23)) {
$this->hour = [
@ -407,7 +407,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDayOfMonth(array $dayOfMonth, int $step = 0, bool $any = false, bool $last = false, int $nearest = 0)
public function setDayOfMonth(array $dayOfMonth, int $step = 0, bool $any = false, bool $last = false, int $nearest = 0) /* : void */
{
if ($this->validateDayOfMonth($arr = [
'dayOfMonth' => $dayOfMonth,
@ -477,7 +477,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setDayOfWeek(array $dayOfWeek, int $step = 0, bool $any = false, bool $last = false)
public function setDayOfWeek(array $dayOfWeek, int $step = 0, bool $any = false, bool $last = false) /* : void */
{
if ($this->validateDayOfWeek($arr = [
'dayOfWeek' => $dayOfWeek,
@ -542,7 +542,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setMonth(array $month, int $step = 0, bool $any = false)
public function setMonth(array $month, int $step = 0, bool $any = false) /* : void */
{
if ($this->validateTime($month, $step, 1, 12)) {
$this->month = [
@ -580,7 +580,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setYear(array $year, int $step = 0, bool $any = false)
public function setYear(array $year, int $step = 0, bool $any = false) /* : void */
{
if ($this->validateYear($arr = [
'year' => $year,
@ -617,7 +617,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
$minute = $this->serializeTime($this->minute['minutes'], $this->minute['step']);
$hour = $this->serializeTime($this->hour['hours'], $this->hour['step']);
@ -640,7 +640,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serializeTime($time, $step)
public function serializeTime($time, $step) /* : void */
{
if (($count = count($time)) > 0) {
$serialize = implode(',', $time);
@ -664,7 +664,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serializeDayOfMonth()
public function serializeDayOfMonth() /* : void */
{
if (($count = count($this->dayOfMonth['dayOfMonth'])) > 0) {
$serialize = implode(',', $this->dayOfMonth['dayOfMonth']);
@ -692,7 +692,7 @@ class Interval implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serializeDayOfWeek()
public function serializeDayOfWeek() /* : void */
{
if (($count = count($this->dayOfWeek['dayOfWeek'])) > 0) {
$serialize = implode(',', $this->dayOfWeek['dayOfWeek']);

View File

@ -48,7 +48,7 @@ class Schedule extends TaskAbstract implements \Serializable
* @return string the string representation of the object or null
* @since 5.1.0
*/
public function serialize()
public function serialize() /* : void */
{
// TODO: Implement serialize() method.
}

View File

@ -67,7 +67,7 @@ abstract class SchedulerAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function setBin(string $path)
public static function setBin(string $path) /* : void */
{
if (realpath($path) === false) {
throw new PathException($path);
@ -173,7 +173,7 @@ abstract class SchedulerAbstract
* @since 1.0.0
* @author Dennis Eichhorn
*/
public function set(TaskAbstract $task)
public function set(TaskAbstract $task) /* : void */
{
$this->tasks[$task->getId()] = $task;
}

View File

@ -109,7 +109,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setCommand(string $command)
public function setCommand(string $command) /* : void */
{
$this->command = $command;
}
@ -137,7 +137,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setRun(string $run)
public function setRun(string $run) /* : void */
{
$this->run = $run;
}
@ -165,7 +165,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStatus(string $status)
public function setStatus(string $status) /* : void */
{
$this->status = $status;
}
@ -193,7 +193,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setNextRunTime(\DateTime $nextRunTime)
public function setNextRunTime(\DateTime $nextRunTime) /* : void */
{
$this->nextRuntime = $nextRunTime;
}
@ -221,7 +221,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setLastRuntime(\DateTime $lastRunTime)
public function setLastRuntime(\DateTime $lastRunTime) /* : void */
{
$this->lastRunTime = $lastRunTime;
}
@ -249,7 +249,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setStart(\DateTime $start)
public function setStart(\DateTime $start) /* : void */
{
$this->start = $start;
}
@ -277,7 +277,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setEnd(\DateTime $end)
public function setEnd(\DateTime $end) /* : void */
{
$this->end = $end;
}
@ -305,7 +305,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setAuthor(string $author)
public function setAuthor(string $author) /* : void */
{
$this->author = $author;
}
@ -333,7 +333,7 @@ abstract class TaskAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setComment(string $comment)
public function setComment(string $comment) /* : void */
{
$this->comment = $comment;
}

View File

@ -38,7 +38,7 @@ trait ModelValidationTrait
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setForce($var, $name)
public function setForce($var, $name) /* : void */
{
if (!property_exists($this, $var)) {
throw new \Exception('Unknown property.');
@ -85,7 +85,7 @@ trait ModelValidationTrait
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
protected function setValidation($var, $name)
protected function setValidation($var, $name) /* : void */
{
/** @noinspection PhpUndefinedFieldInspection */
if (!isset(self::${$name . '_validate'}) || Validator::isValid($var, self::$validation[$name]) === true) {

View File

@ -113,7 +113,7 @@ class View extends ViewAbstract
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setData(string $id, $data)
public function setData(string $id, $data) /* : void */
{
$this->data[$id] = $data;
}

View File

@ -100,7 +100,7 @@ abstract class ViewAbstract implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function setTemplate(string $template)
public function setTemplate(string $template) /* : void */
{
$this->template = $template;
}
@ -203,7 +203,7 @@ abstract class ViewAbstract implements \Serializable
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function serialize()
public function serialize() /* : void */
{
if (empty($this->template)) {
return $this->toArray();