Skip to content

Commit

Permalink
Clarify type of 2nd argument context
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed May 2, 2021
1 parent a18c1e6 commit 1ec9f7a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Psr/Log/LoggerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface LoggerInterface
* System is unusable.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -36,7 +36,7 @@ public function emergency($message, array $context = array());
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -48,7 +48,7 @@ public function alert($message, array $context = array());
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -59,7 +59,7 @@ public function critical($message, array $context = array());
* be logged and monitored.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -72,7 +72,7 @@ public function error($message, array $context = array());
* that are not necessarily wrong.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -82,7 +82,7 @@ public function warning($message, array $context = array());
* Normal but significant events.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -94,7 +94,7 @@ public function notice($message, array $context = array());
* Example: User logs in, SQL logs.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -104,7 +104,7 @@ public function info($message, array $context = array());
* Detailed debug information.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -115,7 +115,7 @@ public function debug($message, array $context = array());
*
* @param mixed $level
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*
Expand Down

0 comments on commit 1ec9f7a

Please sign in to comment.