Merge pull request #15142 from woocommerce/fix/phpdoc-info-logging

Rename `informational` to `info` in the phpdoc
This commit is contained in:
Mike Jolley 2017-05-18 10:41:28 +01:00 committed by GitHub
commit 05eeab33b8
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ abstract class WC_Log_Levels {
* 'error': Error conditions. * 'error': Error conditions.
* 'warning': Warning conditions. * 'warning': Warning conditions.
* 'notice': Normal but significant condition. * 'notice': Normal but significant condition.
* 'informational': Informational messages. * 'info': Informational messages.
* 'debug': Debug-level messages. * 'debug': Debug-level messages.
* *
* @see @link {https://tools.ietf.org/html/rfc5424} * @see @link {https://tools.ietf.org/html/rfc5424}

View File

@ -115,7 +115,7 @@ class WC_Logger implements WC_Logger_Interface {
* 'error': Error conditions. * 'error': Error conditions.
* 'warning': Warning conditions. * 'warning': Warning conditions.
* 'notice': Normal but significant condition. * 'notice': Normal but significant condition.
* 'informational': Informational messages. * 'info': Informational messages.
* 'debug': Debug-level messages. * 'debug': Debug-level messages.
* @param string $message Log message. * @param string $message Log message.
* @param array $context Optional. Additional information for log handlers. * @param array $context Optional. Additional information for log handlers.

View File

@ -36,7 +36,7 @@ interface WC_Logger_Interface {
* 'error': Error conditions. * 'error': Error conditions.
* 'warning': Warning conditions. * 'warning': Warning conditions.
* 'notice': Normal but significant condition. * 'notice': Normal but significant condition.
* 'informational': Informational messages. * 'info': Informational messages.
* 'debug': Debug-level messages. * 'debug': Debug-level messages.
* @param string $message Log message. * @param string $message Log message.
* @param array $context Optional. Additional information for log handlers. * @param array $context Optional. Additional information for log handlers.