diff --git a/src/DataStructure/Behavioral/Indexable.php b/src/DataStructure/Behavioral/Indexable.php index d09e7bd..e291d02 100644 --- a/src/DataStructure/Behavioral/Indexable.php +++ b/src/DataStructure/Behavioral/Indexable.php @@ -21,11 +21,11 @@ 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. @@ -33,5 +33,5 @@ public function get(int $index): mixed; * @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; } diff --git a/src/Logging/LogLevel.php b/src/Logging/LogLevel.php index ec7d050..dfff525 100644 --- a/src/Logging/LogLevel.php +++ b/src/Logging/LogLevel.php @@ -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 */