Replaced @internal docs.
This commit is contained in:
parent
a84f36f731
commit
67ea562983
8 changed files with 9 additions and 12 deletions
2
TODO.md
2
TODO.md
|
@ -18,5 +18,3 @@
|
|||
- Get guides working on phpdoc.
|
||||
|
||||
- Create phpdoc template.
|
||||
|
||||
- Review all constructors and see which one should be marked @internal.
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2410.21928
|
||||
0.2410.21941
|
||||
|
|
|
@ -303,7 +303,9 @@ abstract class Colour implements Stringable {
|
|||
return self::$none;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
/**
|
||||
* Initialises the Colour class.
|
||||
*/
|
||||
public static function init(): void {
|
||||
self::$none = new ColourNull;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,10 @@ class MariaDbBackend implements DbBackend {
|
|||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* Formats a MySQL integer version as a string.
|
||||
*
|
||||
* @param int $version MySQL version number.
|
||||
* @return string
|
||||
*/
|
||||
public static function intToVersion(int $version): string {
|
||||
$sub = $version % 100;
|
||||
|
|
|
@ -10,8 +10,6 @@ use RuntimeException;
|
|||
|
||||
/**
|
||||
* Implementation of MariaDbResult for libmysql.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class MariaDbResultLib extends MariaDbResult {
|
||||
/** @var mixed[] */
|
||||
|
|
|
@ -11,8 +11,6 @@ use RuntimeException;
|
|||
|
||||
/**
|
||||
* Implementation of MariaDbResult for mysqlnd.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class MariaDbResultNative extends MariaDbResult {
|
||||
public function __construct(mysqli_stmt|mysqli_result $result) {
|
||||
|
|
|
@ -35,8 +35,6 @@ class MariaDbStatement implements DbStatement {
|
|||
|
||||
/**
|
||||
* Determines which MariaDbResult implementation should be used.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
public static function construct(): void {
|
||||
if(self::$constructed !== false)
|
||||
|
|
|
@ -82,7 +82,7 @@ class HttpRouter implements Router {
|
|||
if($handler instanceof HttpErrorHandler)
|
||||
$this->errorHandler = $handler;
|
||||
elseif($handler === 'html')
|
||||
$this->setHTMLErrorHandler();
|
||||
$this->setHtmlErrorHandler();
|
||||
else // plain
|
||||
$this->setPlainErrorHandler();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue