Skip to content

Commit

Permalink
Merge pull request #3100 from moderntribe/spotfix/cleanup
Browse files Browse the repository at this point in the history
Convert into an inline return and remove non used variable
  • Loading branch information
mitogh committed Mar 16, 2020
2 parents b01809b + 717f6bb commit 25c9ff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Tribe/Importer/File_Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ public function __destruct() {

public function get_header() {
$this->file->rewind();
$row = $this->file->current();

return $row;
return $this->file->current();
}

public function set_row( $row_number ) {
Expand Down

0 comments on commit 25c9ff1

Please sign in to comment.