Skip to content

Commit

Permalink
Change examples to use new method for header row
Browse files Browse the repository at this point in the history
  • Loading branch information
deqngeorgiev committed Oct 20, 2017
1 parent 424d4f7 commit 64ef59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _examples/01.menu-page/csv-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function ended() {
* See https://github.com/htmlburger/carbon-csv/blob/master/README.md
*/
public function setup_csv() {
$this->csv->use_first_row_as_header();
$this->use_first_row_as_header();
}
}

Expand Down
2 changes: 1 addition & 1 deletion _examples/02.submenu-page/csv-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function ended() {
}

public function setup_csv() {
$this->csv->use_first_row_as_header();
$this->use_first_row_as_header();
}
}

Expand Down

0 comments on commit 64ef59c

Please sign in to comment.