mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Static classes
This commit is contained in:
parent
96f9db5395
commit
b447c0772c
|
|
@ -24,6 +24,16 @@ namespace phpOMS\Utils\Encoding;
|
|||
*/
|
||||
final class Base64Url
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode source text
|
||||
*
|
||||
|
|
|
|||
|
|
@ -40,6 +40,16 @@ class Caesar
|
|||
*/
|
||||
public const LIMIT_UPPER = 127;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode source text
|
||||
*
|
||||
|
|
|
|||
|
|
@ -24,6 +24,16 @@ namespace phpOMS\Utils\Encoding;
|
|||
*/
|
||||
final class Gray
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode source text
|
||||
*
|
||||
|
|
|
|||
|
|
@ -24,6 +24,16 @@ namespace phpOMS\Utils\Encoding;
|
|||
*/
|
||||
final class XorEncoding
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Decode text
|
||||
*
|
||||
|
|
|
|||
|
|
@ -22,8 +22,18 @@ namespace phpOMS\Utils\Formatter;
|
|||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HtmlFormatter
|
||||
final class HtmlFormatter
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Format html code
|
||||
*
|
||||
|
|
|
|||
|
|
@ -675,8 +675,8 @@ class Markdown
|
|||
*/
|
||||
protected function inlineCode(array $excerpt) : ?array
|
||||
{
|
||||
if (($this->options['code']['inline'] ?? true) !== true
|
||||
|| ($this->options['code'] ?? true) !== true
|
||||
if (!($this->options['code']['inline'] ?? true)
|
||||
|| !($this->options['code'] ?? true)
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user