Fixup some formatting issues

This commit is contained in:
Dylan K. Taylor
2018-10-21 18:15:25 +01:00
parent 41fd03f329
commit 45c9caa38c
62 changed files with 120 additions and 49 deletions

View File

@ -47,6 +47,7 @@ class Color{
/**
* Sets the alpha (opacity) value of this colour, lower = more transparent
*
* @param int $a
*/
public function setA(int $a){
@ -63,6 +64,7 @@ class Color{
/**
* Sets the red value of this colour.
*
* @param int $r
*/
public function setR(int $r){
@ -79,6 +81,7 @@ class Color{
/**
* Sets the green value of this colour.
*
* @param int $g
*/
public function setG(int $g){
@ -95,6 +98,7 @@ class Color{
/**
* Sets the blue value of this colour.
*
* @param int $b
*/
public function setB(int $b){
@ -105,6 +109,7 @@ class Color{
* Mixes the supplied list of colours together to produce a result colour.
*
* @param Color ...$colors
*
* @return Color
*/
public static function mix(Color ...$colors) : Color{
@ -127,6 +132,7 @@ class Color{
/**
* Returns a Color from the supplied RGB colour code (24-bit)
*
* @param int $code
*
* @return Color

View File

@ -232,6 +232,7 @@ class Config{
* Sets the options for the JSON encoding when saving
*
* @param int $options
*
* @return Config $this
* @throws \RuntimeException if the Config is not in JSON
* @see json_encode
@ -250,6 +251,7 @@ class Config{
* Enables the given option in addition to the currently set JSON options
*
* @param int $option
*
* @return Config $this
* @throws \RuntimeException if the Config is not in JSON
* @see json_encode
@ -268,6 +270,7 @@ class Config{
* Disables the given option for the JSON encoding when saving
*
* @param int $option
*
* @return Config $this
* @throws \RuntimeException if the Config is not in JSON
* @see json_encode

View File

@ -76,7 +76,7 @@ class Internet{
* @param string $page
* @param int $timeout default 10
* @param array $extraHeaders
* @param string &$err Will be set to the output of curl_error(). Use this to retrieve errors that occured during the operation.
* @param string &$err Will be set to the output of curl_error(). Use this to retrieve errors that occured during the operation.
* @param array[] &$headers
* @param int &$httpCode
*

View File

@ -50,7 +50,7 @@ class MainLogger extends \AttachableThreadedLogger{
/**
* @param string $logFile
* @param bool $logDebug
* @param bool $logDebug
*
* @throws \RuntimeException
*/

View File

@ -47,6 +47,7 @@ class UUID{
*
* @param string $uuid
* @param int $version
*
* @return UUID
*/
public static function fromString(string $uuid, int $version = null) : UUID{
@ -58,6 +59,7 @@ class UUID{
*
* @param string $uuid
* @param int $version
*
* @return UUID
*
* @throws \InvalidArgumentException
@ -74,6 +76,7 @@ class UUID{
* Creates an UUIDv3 from binary data or list of binary data
*
* @param string ...$data
*
* @return UUID
*/
public static function fromData(string ...$data) : UUID{

View File

@ -246,6 +246,7 @@ class Utils{
/**
* @param bool $recalculate
*
* @return int
*/
public static function getCoreCount(bool $recalculate = false) : int{
@ -532,10 +533,10 @@ class Utils{
}
/**
* @param int $severity
* @param int $severity
* @param string $message
* @param string $file
* @param int $line
* @param int $line
*
* @return bool
* @throws \ErrorException