Remove optional from required log handler context array
This commit is contained in:
parent
722b288b79
commit
e4c08aa03a
|
@ -60,7 +60,7 @@ class WC_Log_Handler_Email extends WC_Log_Handler {
|
||||||
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $context {
|
* @param array $context {
|
||||||
* Optional. Array with additional information
|
* Array with additional information
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @return bool log entry should bubble to further loggers.
|
* @return bool log entry should bubble to further loggers.
|
||||||
|
@ -82,7 +82,7 @@ class WC_Log_Handler_Email extends WC_Log_Handler {
|
||||||
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $context {
|
* @param array $context {
|
||||||
* Optional. Array with additional information
|
* Array with additional information
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @return string subject
|
* @return string subject
|
||||||
|
@ -97,7 +97,7 @@ class WC_Log_Handler_Email extends WC_Log_Handler {
|
||||||
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $context {
|
* @param array $context {
|
||||||
* Optional. Array with additional information
|
* Array with additional information
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @return string body
|
* @return string body
|
||||||
|
|
|
@ -43,7 +43,7 @@ class WC_Log_Handler_File extends WC_Log_Handler {
|
||||||
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
* @param string $level emergency|alert|critical|error|warning|notice|info|debug
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $context {
|
* @param array $context {
|
||||||
* Optional. Array with additional information
|
* Array with additional information
|
||||||
*
|
*
|
||||||
* @type string $tag Optional. The tag will be used to determine which file an entry will be written to.
|
* @type string $tag Optional. The tag will be used to determine which file an entry will be written to.
|
||||||
* }
|
* }
|
||||||
|
@ -77,7 +77,7 @@ class WC_Log_Handler_File extends WC_Log_Handler {
|
||||||
* @param int $timestamp log entry timestamp
|
* @param int $timestamp log entry timestamp
|
||||||
* @param string $message provided log message
|
* @param string $message provided log message
|
||||||
* @param array $context {
|
* @param array $context {
|
||||||
* Optional. Array with additional information
|
* Array with additional information
|
||||||
*
|
*
|
||||||
* @type string $tag Optional. The tag will be used to determine which file an entry will be written to.
|
* @type string $tag Optional. The tag will be used to determine which file an entry will be written to.
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in New Issue