aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/psr/log/src
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/psr/log/src')
-rw-r--r--vendor/psr/log/src/LoggerAwareInterface.php2
-rw-r--r--vendor/psr/log/src/LoggerAwareTrait.php2
-rw-r--r--vendor/psr/log/src/LoggerInterface.php18
-rw-r--r--vendor/psr/log/src/LoggerTrait.php18
-rw-r--r--vendor/psr/log/src/NullLogger.php2
5 files changed, 21 insertions, 21 deletions
diff --git a/vendor/psr/log/src/LoggerAwareInterface.php b/vendor/psr/log/src/LoggerAwareInterface.php
index cc46a9514..4d64f4786 100644
--- a/vendor/psr/log/src/LoggerAwareInterface.php
+++ b/vendor/psr/log/src/LoggerAwareInterface.php
@@ -14,5 +14,5 @@ interface LoggerAwareInterface
*
* @return void
*/
- public function setLogger(LoggerInterface $logger): void;
+ public function setLogger(LoggerInterface $logger);
}
diff --git a/vendor/psr/log/src/LoggerAwareTrait.php b/vendor/psr/log/src/LoggerAwareTrait.php
index 4fb57a292..5f1553a4c 100644
--- a/vendor/psr/log/src/LoggerAwareTrait.php
+++ b/vendor/psr/log/src/LoggerAwareTrait.php
@@ -19,7 +19,7 @@ trait LoggerAwareTrait
*
* @param LoggerInterface $logger
*/
- public function setLogger(LoggerInterface $logger): void
+ public function setLogger(LoggerInterface $logger)
{
$this->logger = $logger;
}
diff --git a/vendor/psr/log/src/LoggerInterface.php b/vendor/psr/log/src/LoggerInterface.php
index b3a24b5f7..b4d062b9b 100644
--- a/vendor/psr/log/src/LoggerInterface.php
+++ b/vendor/psr/log/src/LoggerInterface.php
@@ -27,7 +27,7 @@ interface LoggerInterface
*
* @return void
*/
- public function emergency(string|\Stringable $message, array $context = []): void;
+ public function emergency(string|\Stringable $message, array $context = []);
/**
* Action must be taken immediately.
@@ -40,7 +40,7 @@ interface LoggerInterface
*
* @return void
*/
- public function alert(string|\Stringable $message, array $context = []): void;
+ public function alert(string|\Stringable $message, array $context = []);
/**
* Critical conditions.
@@ -52,7 +52,7 @@ interface LoggerInterface
*
* @return void
*/
- public function critical(string|\Stringable $message, array $context = []): void;
+ public function critical(string|\Stringable $message, array $context = []);
/**
* Runtime errors that do not require immediate action but should typically
@@ -63,7 +63,7 @@ interface LoggerInterface
*
* @return void
*/
- public function error(string|\Stringable $message, array $context = []): void;
+ public function error(string|\Stringable $message, array $context = []);
/**
* Exceptional occurrences that are not errors.
@@ -76,7 +76,7 @@ interface LoggerInterface
*
* @return void
*/
- public function warning(string|\Stringable $message, array $context = []): void;
+ public function warning(string|\Stringable $message, array $context = []);
/**
* Normal but significant events.
@@ -86,7 +86,7 @@ interface LoggerInterface
*
* @return void
*/
- public function notice(string|\Stringable $message, array $context = []): void;
+ public function notice(string|\Stringable $message, array $context = []);
/**
* Interesting events.
@@ -98,7 +98,7 @@ interface LoggerInterface
*
* @return void
*/
- public function info(string|\Stringable $message, array $context = []): void;
+ public function info(string|\Stringable $message, array $context = []);
/**
* Detailed debug information.
@@ -108,7 +108,7 @@ interface LoggerInterface
*
* @return void
*/
- public function debug(string|\Stringable $message, array $context = []): void;
+ public function debug(string|\Stringable $message, array $context = []);
/**
* Logs with an arbitrary level.
@@ -121,5 +121,5 @@ interface LoggerInterface
*
* @throws \Psr\Log\InvalidArgumentException
*/
- public function log($level, string|\Stringable $message, array $context = []): void;
+ public function log($level, string|\Stringable $message, array $context = []);
}
diff --git a/vendor/psr/log/src/LoggerTrait.php b/vendor/psr/log/src/LoggerTrait.php
index 9c8733f95..920bda77f 100644
--- a/vendor/psr/log/src/LoggerTrait.php
+++ b/vendor/psr/log/src/LoggerTrait.php
@@ -20,7 +20,7 @@ trait LoggerTrait
*
* @return void
*/
- public function emergency(string|\Stringable $message, array $context = []): void
+ public function emergency(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::EMERGENCY, $message, $context);
}
@@ -36,7 +36,7 @@ trait LoggerTrait
*
* @return void
*/
- public function alert(string|\Stringable $message, array $context = []): void
+ public function alert(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::ALERT, $message, $context);
}
@@ -51,7 +51,7 @@ trait LoggerTrait
*
* @return void
*/
- public function critical(string|\Stringable $message, array $context = []): void
+ public function critical(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::CRITICAL, $message, $context);
}
@@ -65,7 +65,7 @@ trait LoggerTrait
*
* @return void
*/
- public function error(string|\Stringable $message, array $context = []): void
+ public function error(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::ERROR, $message, $context);
}
@@ -81,7 +81,7 @@ trait LoggerTrait
*
* @return void
*/
- public function warning(string|\Stringable $message, array $context = []): void
+ public function warning(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::WARNING, $message, $context);
}
@@ -94,7 +94,7 @@ trait LoggerTrait
*
* @return void
*/
- public function notice(string|\Stringable $message, array $context = []): void
+ public function notice(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::NOTICE, $message, $context);
}
@@ -109,7 +109,7 @@ trait LoggerTrait
*
* @return void
*/
- public function info(string|\Stringable $message, array $context = []): void
+ public function info(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::INFO, $message, $context);
}
@@ -122,7 +122,7 @@ trait LoggerTrait
*
* @return void
*/
- public function debug(string|\Stringable $message, array $context = []): void
+ public function debug(string|\Stringable $message, array $context = [])
{
$this->log(LogLevel::DEBUG, $message, $context);
}
@@ -138,5 +138,5 @@ trait LoggerTrait
*
* @throws \Psr\Log\InvalidArgumentException
*/
- abstract public function log($level, string|\Stringable $message, array $context = []): void;
+ abstract public function log($level, string|\Stringable $message, array $context = []);
}
diff --git a/vendor/psr/log/src/NullLogger.php b/vendor/psr/log/src/NullLogger.php
index c1cc3c069..560770571 100644
--- a/vendor/psr/log/src/NullLogger.php
+++ b/vendor/psr/log/src/NullLogger.php
@@ -23,7 +23,7 @@ class NullLogger extends AbstractLogger
*
* @throws \Psr\Log\InvalidArgumentException
*/
- public function log($level, string|\Stringable $message, array $context = []): void
+ public function log($level, string|\Stringable $message, array $context = [])
{
// noop
}