Skip to content

Commit a442f5d

Browse files
authored
Fix fetch method
1 parent 262fb43 commit a442f5d

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)