Skip to content

Commit 33fd5c9

Browse files
authored
Using arrays instead of arrayobjects
1 parent e598595 commit 33fd5c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Db/Sql/Performer/SelectPerformer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function setEntity(string $entity): void
5959
*/
6060
public function perform($select): array
6161
{
62-
$rows = $this->tableGateway->selectWith($select);
62+
$rows = $this->tableGateway->selectWith($select)->toArray();
6363
$rowsToBeShown = [];
6464

6565
foreach ($rows as $row) {
@@ -70,4 +70,4 @@ public function perform($select): array
7070

7171
return $rowsToBeShown;
7272
}
73-
}
73+
}

0 commit comments

Comments
 (0)