Skip to content

Commit 6f80532

Browse files
authored
Merge pull request #110 from tai-sho/fix-readme-callable-hinting
Fix type hinting in README
2 parents 612cef1 + 4732339 commit 6f80532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ public function export()
153153
$_header = ['Post ID', 'Title', 'Created'];
154154
$_extract = [
155155
'id',
156-
function (\App\Model\Entity\Post $row) {
157-
return $row->title;
156+
function (array $row) {
157+
return $row['title'];
158158
},
159159
'created'
160160
];

0 commit comments

Comments
 (0)