Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/DataStructure/Behavioral/Indexable.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ interface Indexable
/**
* Retrieves an element at the specified index.
*
* @param int $index The index of the element to retrieve
* @param mixed $index The index of the element to retrieve
*
* @return mixed The element at the specified index
*/
public function get(int $index): mixed;
public function get(mixed $index): mixed;

/**
* Sets an element at the specified index.
*
* @param int $index The index where the element should be set
* @param mixed $element The element to set
*/
public function set(int $index, mixed $element): void;
public function set(mixed $index, mixed $element): void;
}
9 changes: 8 additions & 1 deletion src/Logging/LogLevel.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ interface LogLevel
public function getLevel(): string;

/**
* Gets the log level as a int level
* Gets the color level as a string.
*
* @return string the color level
*/
public function getColor(): string;

/**
* Gets the log level as a int level.
*
* @return int the log level
*/
Expand Down
Loading