Skip to content

Commit 74e6174

Browse files
yourwebmakerjaviereguiluz
authored andcommitted
Fix fetch method
1 parent 2235259 commit 74e6174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/dbal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ object::
5555
{
5656
public function index(Connection $connection): Response
5757
{
58-
$users = $connection->fetchAll('SELECT * FROM users');
58+
$users = $connection->fetchAllAssociative('SELECT * FROM users');
5959

6060
// ...
6161
}

0 commit comments

Comments
 (0)