diff --git a/src/API/API.php b/src/API/API.php index 0b650b3..01cfa7a 100644 --- a/src/API/API.php +++ b/src/API/API.php @@ -10,7 +10,7 @@ class API { /** * Create a new API request with automatic request validation - * + * * @param ?Ruleset $ruleset An optional Reflect\Rules\Ruleset to eval */ public function __construct(?Ruleset $ruleset = null) { diff --git a/src/Database/Database.php b/src/Database/Database.php index 962a325..e924d93 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -29,7 +29,7 @@ /** * Paginate request by chaining this after vlw/MySQL->from() and before vlw/MySQL->select() - * + * * @param ?Paginate $paginate a vlw\Scaffold\Helper\Paginate instance * @return self Instance chainable with vlw\MySQL */ diff --git a/src/Helpers/Paginate.php b/src/Helpers/Paginate.php index cb108eb..f849a83 100644 --- a/src/Helpers/Paginate.php +++ b/src/Helpers/Paginate.php @@ -13,7 +13,7 @@ /** * Start a new Paginate instance - * + * * @param int $total Total amount of items to paginate * @param ?int $size Amount of items to display on each page * @param ?int $current Index of current page @@ -40,7 +40,7 @@ /** * Get current database offset - * + * * @return int Database offset of first item on current page */ public int $offset { @@ -49,7 +49,7 @@ /** * Get total amount of pages - * + * * @return int Total number of pages */ public int $pages { @@ -58,7 +58,7 @@ /** * Returns true if a previous page exists - * + * * @return bool Previous page exists */ public bool $previous { @@ -67,7 +67,7 @@ /** * True if a next page exists - * + * * @return bool Next page exists */ public bool $next { @@ -76,7 +76,7 @@ /** * Get pages witin ±range from current page - * + * * @param ?int $range Desired range from current page to return * @return array Indecies of pages within the desired range */ @@ -95,7 +95,7 @@ /** * Returns a url to a page by index - * + * * @param int $page Page index * @return string Search parameters to the target page */ @@ -105,7 +105,7 @@ /** * Returns a url to the previous page - * + * * @return string Search parameters to the previous page */ public function previous(): string { @@ -114,7 +114,7 @@ /** * Returns a url to the next page - * + * * @return string Search parameters to the next page */ public function next(): string { @@ -123,7 +123,7 @@ /** * Clamp page within range of all pages - * + * * @param int $page Page index * @return int Clamped page index */ @@ -133,7 +133,7 @@ /** * Construct search parameters for a page while preserving existing search parameters - * + * * @param int $page Page index * @return string A search parameter to the target page */ diff --git a/src/Helpers/UUID.php b/src/Helpers/UUID.php index 8bdfe9b..c7d0914 100644 --- a/src/Helpers/UUID.php +++ b/src/Helpers/UUID.php @@ -10,7 +10,7 @@ /** * Generate an all binary 0:s UUID - * + * * @return string */ public static function nil(): string { @@ -19,7 +19,7 @@ /** * Generate an all binary 1:s UUID - * + * * @return string */ public static function max(): string { @@ -28,7 +28,7 @@ /** * Generate a version 4 UUID - * + * * @return string */ public static function v4(): string { diff --git a/src/Scaffold.php b/src/Scaffold.php index 510425e..8db8120 100644 --- a/src/Scaffold.php +++ b/src/Scaffold.php @@ -8,7 +8,7 @@ class Scaffold { /** * Include a source file - * + * * @param string $pathname Relative path from project root to a source file */ public static function load(string $pathname): void {