From e4c08aa03a69b215ab06b4e854eda6dd8c44350a Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Wed, 16 Nov 2016 20:22:00 +0100 Subject: [PATCH] Remove optional from required log handler context array --- includes/log-handlers/class-wc-log-handler-email.php | 6 +++--- includes/log-handlers/class-wc-log-handler-file.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/log-handlers/class-wc-log-handler-email.php b/includes/log-handlers/class-wc-log-handler-email.php index 8ef34466ef7..b7ef85cd909 100644 --- a/includes/log-handlers/class-wc-log-handler-email.php +++ b/includes/log-handlers/class-wc-log-handler-email.php @@ -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 diff --git a/includes/log-handlers/class-wc-log-handler-file.php b/includes/log-handlers/class-wc-log-handler-file.php index 971c10e0fcb..4e376ce5dc1 100644 --- a/includes/log-handlers/class-wc-log-handler-file.php +++ b/includes/log-handlers/class-wc-log-handler-file.php @@ -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. * }