PHPCS passing for class-wc-logger-interface.php

This commit is contained in:
Gerhard Potgieter 2018-03-06 10:23:28 +02:00
parent 1ba9f86001
commit 96cbebb06b
1 changed files with 21 additions and 16 deletions

View File

@ -1,6 +1,13 @@
<?php
/**
* Logger Interface
*
* @version 3.0.0
* @package WooCommerce/Interface
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
exit; // Exit if accessed directly.
}
/**
@ -8,9 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
*
* Functions that must be defined to correctly fulfill logger API.
*
* @version 1.0.0
* @category Interface
* @author WooThemes
* @version 3.0.0
*/
interface WC_Logger_Interface {
@ -20,9 +25,9 @@ interface WC_Logger_Interface {
* This is not the preferred method for adding log messages. Please use log() or any one of
* the level methods (debug(), info(), etc.). This method may be deprecated in the future.
*
* @param string $handle
* @param string $message
* @param string $level
* @param string $handle File handle.
* @param string $message Log message.
* @param string $level Log level.
*
* @return bool True if log was added, otherwise false.
*/