mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
phpcbf
This commit is contained in:
parent
4fc4f3f7c8
commit
23bc8b732f
|
|
@ -38,7 +38,7 @@ interface CacheInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function set($key, $value, int $expire = -1) /* : void */;
|
||||
public function set($key, $value, int $expire = -1); /* : void */
|
||||
|
||||
/**
|
||||
* Adding new data if it doesn't exist.
|
||||
|
|
@ -108,7 +108,7 @@ interface CacheInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setStatus(int $status) /* : void */;
|
||||
public function setStatus(int $status); /* : void */
|
||||
|
||||
/**
|
||||
* Updating existing value/key.
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ interface ConnectionInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function connect(array $dbdata) /* : void */;
|
||||
public function connect(array $dbdata); /* : void */
|
||||
|
||||
/**
|
||||
* Get the database type.
|
||||
|
|
@ -66,7 +66,7 @@ interface ConnectionInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function close() /* : void */;
|
||||
public function close(); /* : void */
|
||||
|
||||
/**
|
||||
* Return grammar for this connection.
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ interface SessionInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function save() /* : void */;
|
||||
public function save(); /* : void */
|
||||
|
||||
/**
|
||||
* @return int|string
|
||||
|
|
@ -87,7 +87,7 @@ interface SessionInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setSID($sid) /* : void */;
|
||||
public function setSID($sid); /* : void */
|
||||
|
||||
/**
|
||||
* Lock session from further adjustments.
|
||||
|
|
@ -96,5 +96,5 @@ interface SessionInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function lock() /* : void */;
|
||||
public function lock(); /* : void */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function emergency(string $message, array $context = []) /* : void */;
|
||||
public function emergency(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Action must be taken immediately.
|
||||
|
|
@ -46,7 +46,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function alert(string $message, array $context = []) /* : void */;
|
||||
public function alert(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Critical conditions.
|
||||
|
|
@ -58,7 +58,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function critical(string $message, array $context = []) /* : void */;
|
||||
public function critical(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Runtime errors that do not require immediate action but should typically
|
||||
|
|
@ -69,7 +69,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function error(string $message, array $context = []) /* : void */;
|
||||
public function error(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Exceptional occurrences that are not errors.
|
||||
|
|
@ -82,7 +82,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function warning(string $message, array $context = []) /* : void */;
|
||||
public function warning(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Normal but significant events.
|
||||
|
|
@ -92,7 +92,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function notice(string $message, array $context = []) /* : void */;
|
||||
public function notice(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Interesting events.
|
||||
|
|
@ -104,7 +104,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function info(string $message, array $context = []) /* : void */;
|
||||
public function info(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Detailed debug information.
|
||||
|
|
@ -114,7 +114,7 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function debug(string $message, array $context = []) /* : void */;
|
||||
public function debug(string $message, array $context = []); /* : void */
|
||||
|
||||
/**
|
||||
* Logs with an arbitrary level.
|
||||
|
|
@ -125,5 +125,5 @@ interface LoggerInterface
|
|||
*
|
||||
* @return null
|
||||
*/
|
||||
public function log(string $level, string $message, array $context = []) /* : void */;
|
||||
public function log(string $level, string $message, array $context = []); /* : void */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
declare(strict_types = 1);
|
||||
namespace phpOMS\Math\Stochastic;
|
||||
|
||||
/**
|
||||
* Bernulli distribution.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ abstract class HeaderAbstract
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract public function generate(int $statusCode) /* : void */;
|
||||
abstract public function generate(int $statusCode); /* : void */
|
||||
|
||||
/**
|
||||
* Get status code
|
||||
|
|
|
|||
|
|
@ -212,7 +212,8 @@ class Tree extends Graph
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function preOrder(Node $node, \Closure $callback) {
|
||||
public function preOrder(Node $node, \Closure $callback)
|
||||
{
|
||||
if (count($this->nodes) === 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -234,7 +235,8 @@ class Tree extends Graph
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function postOrder(Node $node, \Closure $callback) {
|
||||
public function postOrder(Node $node, \Closure $callback)
|
||||
{
|
||||
if (count($this->nodes) === 0) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ interface UriInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setRootPath(string $root) /* : void */;
|
||||
public function setRootPath(string $root); /* : void */
|
||||
|
||||
/**
|
||||
* Get path element.
|
||||
|
|
@ -213,5 +213,5 @@ interface UriInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function set(string $uri) /* : void */;
|
||||
public function set(string $uri); /* : void */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,5 +62,5 @@ interface ValidatorInterface
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function resetError() /* : void */;
|
||||
public static function resetError(); /* : void */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user