Skip to content

Commit

Permalink
fix: Return the number of affected rows (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3mo17dot authored Oct 18, 2023
1 parent 02dda69 commit 14f783e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makaira/Connect/Database/DoctrineDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function execute(string $query, array $parameters = array(), bool $transl
$statement = $this->prepareStatement($query);
$this->bindQueryParameters($statement, $parameters);

$statement->executeStatement();
return $statement->executeStatement();
}

/**
Expand Down

0 comments on commit 14f783e

Please sign in to comment.