Skip to content

Commit

Permalink
fix: remove types from logger interface due to php compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
P.R. van Puijenbroek committed Jul 5, 2024
1 parent 9b85dce commit 5a39f9a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Util/DummyLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class DummyLogger implements LoggerInterface
*
* @return void
*/
public function emergency(string|Stringable $message, array $context = []): void
public function emergency$message, array $context = []): void
{
}

Expand All @@ -63,7 +63,7 @@ public function emergency(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function alert(string|Stringable $message, array $context = []): void
public function alert$message, array $context = []): void
{
}

Expand All @@ -77,7 +77,7 @@ public function alert(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function critical(string|Stringable $message, array $context = []): void
public function critical$message, array $context = []): void
{
}

Expand All @@ -90,7 +90,7 @@ public function critical(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function error(string|Stringable $message, array $context = []): void
public function error$message, array $context = []): void
{
}

Expand All @@ -105,7 +105,7 @@ public function error(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function warning(string|Stringable $message, array $context = []): void
public function warning$message, array $context = []): void
{
}

Expand All @@ -117,7 +117,7 @@ public function warning(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function notice(string|Stringable $message, array $context = []): void
public function notice$message, array $context = []): void
{
}

Expand All @@ -131,7 +131,7 @@ public function notice(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function info(string|Stringable $message, array $context = []): void
public function info$message, array $context = []): void
{
}

Expand All @@ -143,7 +143,7 @@ public function info(string|Stringable $message, array $context = []): void
*
* @return void
*/
public function debug(string|Stringable $message, array $context = []): void
public function debug$message, array $context = []): void
{
}

Expand All @@ -158,7 +158,7 @@ public function debug(string|Stringable $message, array $context = []): void
*
* @throws InvalidArgumentException
*/
public function log($level, string|Stringable $message, array $context = []): void
public function log($level, $message, array $context = []): void
{
}
}

0 comments on commit 5a39f9a

Please sign in to comment.