mirror of
https://github.com/php-fig/log.git
synced 2026-03-24 06:52:18 +01:00
Clarify type of 2nd argument context
This commit is contained in:
@@ -23,7 +23,7 @@ interface LoggerInterface
|
||||
* System is unusable.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -36,7 +36,7 @@ interface LoggerInterface
|
||||
* trigger the SMS alerts and wake you up.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ interface LoggerInterface
|
||||
* Example: Application component unavailable, unexpected exception.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -59,7 +59,7 @@ interface LoggerInterface
|
||||
* be logged and monitored.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -72,7 +72,7 @@ interface LoggerInterface
|
||||
* that are not necessarily wrong.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -82,7 +82,7 @@ interface LoggerInterface
|
||||
* Normal but significant events.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -94,7 +94,7 @@ interface LoggerInterface
|
||||
* Example: User logs in, SQL logs.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -104,7 +104,7 @@ interface LoggerInterface
|
||||
* Detailed debug information.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@@ -115,7 +115,7 @@ interface LoggerInterface
|
||||
*
|
||||
* @param mixed $level
|
||||
* @param string $message
|
||||
* @param mixed[] $context
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user