Skip to content

Commit

Permalink
Make type of 2nd argument context compliant with LoggerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed May 3, 2021
1 parent 461c579 commit 732030c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Psr/Log/AbstractLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ abstract class AbstractLogger implements LoggerInterface
/**
* System is unusable.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -30,8 +30,8 @@ public function emergency($message, array $context = array())
* Example: Entire website down, database unavailable, etc. This should
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -45,8 +45,8 @@ public function alert($message, array $context = array())
*
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -59,8 +59,8 @@ public function critical($message, array $context = array())
* Runtime errors that do not require immediate action but should typically
* be logged and monitored.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -75,8 +75,8 @@ public function error($message, array $context = array())
* Example: Use of deprecated APIs, poor use of an API, undesirable things
* that are not necessarily wrong.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -88,8 +88,8 @@ public function warning($message, array $context = array())
/**
* Normal but significant events.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -103,8 +103,8 @@ public function notice($message, array $context = array())
*
* Example: User logs in, SQL logs.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand All @@ -116,8 +116,8 @@ public function info($message, array $context = array())
/**
* Detailed debug information.
*
* @param string $message
* @param array $context
* @param string $message
* @param mixed[] $context
*
* @return void
*/
Expand Down

0 comments on commit 732030c

Please sign in to comment.