Skip to content

Commit

Permalink
Renamed CLI log due to resword conflict (#140).
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-bowl committed Apr 2, 2023
1 parent 759b07e commit e5e70a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/class-emaillog.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function load_log( $args, $assoc_args ) {

$entries = $this->log_service->get_log_entries( $page, $maximum_per_page );

$this->list( $entries );
$this->list_log_entities( $entries );
if ( empty( $load_all ) ) {
WP_CLI::line( $message );
}
Expand Down Expand Up @@ -109,7 +109,7 @@ public function view_email( $args, $assoc_args ) {
* @param Log[] $entries Log entry collection.
* @return void Prints the log to the page.
*/
private function list( $entries ) {
private function list_log_entities( $entries ) {
$list_format = [];
foreach ( $entries as $entry ) {
$list_format[] = [
Expand Down

0 comments on commit e5e70a9

Please sign in to comment.