Skip to content

Commit

Permalink
Merge pull request #110 from tai-sho/fix-readme-callable-hinting
Browse files Browse the repository at this point in the history
Fix type hinting in README
  • Loading branch information
ADmad authored Aug 28, 2019
2 parents 612cef1 + 4732339 commit 6f80532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ public function export()
$_header = ['Post ID', 'Title', 'Created'];
$_extract = [
'id',
function (\App\Model\Entity\Post $row) {
return $row->title;
function (array $row) {
return $row['title'];
},
'created'
];
Expand Down

0 comments on commit 6f80532

Please sign in to comment.