| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * The interface for log rotation class. |
| 4 | 4 | * |
| 5 | - * @package WP_Defender\Component\Logger | |
| 5 | + * @package WP_Defender\Component\Logger | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | namespace WP_Defender\Component\Logger; |
| 9 | 9 | |
| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Generate a new filename with date suffix. |
| 14 | 14 | * |
| 15 | - * @param string $filename Filename which requires date suffix. | |
| 15 | + * @param string $filename Filename which requires date suffix. | |
| 16 | 16 | * |
| 17 | 17 | * @return string Formatted date suffixed file name. |
| 18 | 18 | */ |
| 19 | 19 | public function generate_file_name( $filename ); |
| @@ -20,10 +20,10 @@ | ||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Purge logs whose modified time exceeded the threshold limit. |
| 23 | 23 | * |
| 24 | - * @param string $directory_path Pathname of the directory. | |
| 25 | - * @param int $count A period as integer value. | |
| 26 | - * @param string $unit A standard datetime relative format unit, like days or months. | |
| 24 | + * @param string $directory_path Pathname of the directory. | |
| 25 | + * @param int $count A period as integer value. | |
| 26 | + * @param string $unit A standard datetime relative format unit, like days or months. | |
| 27 | 27 | */ |
| 28 | 28 | public function purge_old_log( $directory_path, $count, $unit ); |
| 29 | 29 | } |