Skip to content

Commit

Permalink
Update Database.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth authored Jan 9, 2025
1 parent cf2f75a commit df8259a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function load(string $class, array $parameters = []): array
foreach ($parameters as $key => $value) {
$this->bindValue($statement, $value, $key);
}
$statement->execute();
return array_map(
function (array $assoc) use ($rc): object {
$args = [];
Expand Down

0 comments on commit df8259a

Please sign in to comment.