Skip to content

Commit 4732339

Browse files
committed
Change type hinting from EntityInterface to array
1 parent cc62c59 commit 4732339

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)