Skip to content

Commit

Permalink
Merge pull request #74 from Jeckerson/master
Browse files Browse the repository at this point in the history
Clarify type of 2nd argument `context`
  • Loading branch information
Seldaek committed May 3, 2021
2 parents a18c1e6 + 732030c commit d49695b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Psr/Log/AbstractLogger.php
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 d49695b

Please sign in to comment.