Remove optional from required log handler context array

This commit is contained in:
Jon Surrell 2016-11-16 20:22:00 +01:00
parent 722b288b79
commit e4c08aa03a
2 changed files with 5 additions and 5 deletions

View File

@ -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 $message
* @param array $context {
* Optional. Array with additional information
* Array with additional information
* }
*
* @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 $message
* @param array $context {
* Optional. Array with additional information
* Array with additional information
* }
*
* @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 $message
* @param array $context {
* Optional. Array with additional information
* Array with additional information
* }
*
* @return string body

View File

@ -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 $message
* @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.
* }
@ -77,7 +77,7 @@ class WC_Log_Handler_File extends WC_Log_Handler {
* @param int $timestamp log entry timestamp
* @param string $message provided log message
* @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.
* }