fix(style): trim trailing whitespaces

This commit is contained in:
Victor Westerlund 2025-11-30 13:46:12 +01:00
parent 4fa45083d0
commit 7f381633d6
Signed by: vlw
GPG key ID: D0AD730E1057DFC6
5 changed files with 17 additions and 17 deletions

View file

@ -10,7 +10,7 @@
class API { class API {
/** /**
* Create a new API request with automatic request validation * Create a new API request with automatic request validation
* *
* @param ?Ruleset $ruleset An optional Reflect\Rules\Ruleset to eval * @param ?Ruleset $ruleset An optional Reflect\Rules\Ruleset to eval
*/ */
public function __construct(?Ruleset $ruleset = null) { public function __construct(?Ruleset $ruleset = null) {

View file

@ -29,7 +29,7 @@
/** /**
* Paginate request by chaining this after vlw/MySQL->from() and before vlw/MySQL->select() * Paginate request by chaining this after vlw/MySQL->from() and before vlw/MySQL->select()
* *
* @param ?Paginate $paginate a vlw\Scaffold\Helper\Paginate instance * @param ?Paginate $paginate a vlw\Scaffold\Helper\Paginate instance
* @return self Instance chainable with vlw\MySQL * @return self Instance chainable with vlw\MySQL
*/ */

View file

@ -13,7 +13,7 @@
/** /**
* Start a new Paginate instance * Start a new Paginate instance
* *
* @param int $total Total amount of items to paginate * @param int $total Total amount of items to paginate
* @param ?int $size Amount of items to display on each page * @param ?int $size Amount of items to display on each page
* @param ?int $current Index of current page * @param ?int $current Index of current page
@ -40,7 +40,7 @@
/** /**
* Get current database offset * Get current database offset
* *
* @return int Database offset of first item on current page * @return int Database offset of first item on current page
*/ */
public int $offset { public int $offset {
@ -49,7 +49,7 @@
/** /**
* Get total amount of pages * Get total amount of pages
* *
* @return int Total number of pages * @return int Total number of pages
*/ */
public int $pages { public int $pages {
@ -58,7 +58,7 @@
/** /**
* Returns true if a previous page exists * Returns true if a previous page exists
* *
* @return bool Previous page exists * @return bool Previous page exists
*/ */
public bool $previous { public bool $previous {
@ -67,7 +67,7 @@
/** /**
* True if a next page exists * True if a next page exists
* *
* @return bool Next page exists * @return bool Next page exists
*/ */
public bool $next { public bool $next {
@ -76,7 +76,7 @@
/** /**
* Get pages witin ±range from current page * Get pages witin ±range from current page
* *
* @param ?int $range Desired range from current page to return * @param ?int $range Desired range from current page to return
* @return array<int> Indecies of pages within the desired range * @return array<int> Indecies of pages within the desired range
*/ */
@ -95,7 +95,7 @@
/** /**
* Returns a url to a page by index * Returns a url to a page by index
* *
* @param int $page Page index * @param int $page Page index
* @return string Search parameters to the target page * @return string Search parameters to the target page
*/ */
@ -105,7 +105,7 @@
/** /**
* Returns a url to the previous page * Returns a url to the previous page
* *
* @return string Search parameters to the previous page * @return string Search parameters to the previous page
*/ */
public function previous(): string { public function previous(): string {
@ -114,7 +114,7 @@
/** /**
* Returns a url to the next page * Returns a url to the next page
* *
* @return string Search parameters to the next page * @return string Search parameters to the next page
*/ */
public function next(): string { public function next(): string {
@ -123,7 +123,7 @@
/** /**
* Clamp page within range of all pages * Clamp page within range of all pages
* *
* @param int $page Page index * @param int $page Page index
* @return int Clamped page index * @return int Clamped page index
*/ */
@ -133,7 +133,7 @@
/** /**
* Construct search parameters for a page while preserving existing search parameters * Construct search parameters for a page while preserving existing search parameters
* *
* @param int $page Page index * @param int $page Page index
* @return string A search parameter to the target page * @return string A search parameter to the target page
*/ */

View file

@ -10,7 +10,7 @@
/** /**
* Generate an all binary 0:s UUID * Generate an all binary 0:s UUID
* *
* @return string * @return string
*/ */
public static function nil(): string { public static function nil(): string {
@ -19,7 +19,7 @@
/** /**
* Generate an all binary 1:s UUID * Generate an all binary 1:s UUID
* *
* @return string * @return string
*/ */
public static function max(): string { public static function max(): string {
@ -28,7 +28,7 @@
/** /**
* Generate a version 4 UUID * Generate a version 4 UUID
* *
* @return string * @return string
*/ */
public static function v4(): string { public static function v4(): string {

View file

@ -8,7 +8,7 @@
class Scaffold { class Scaffold {
/** /**
* Include a source file * Include a source file
* *
* @param string $pathname Relative path from project root to a source file * @param string $pathname Relative path from project root to a source file
*/ */
public static function load(string $pathname): void { public static function load(string $pathname): void {