Skip to content

Commit d808eea

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: Update doctrine.rst
2 parents ccc95ed + 41625a5 commit d808eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/configuration/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ you can access it using the ``getConnection()`` method and the name of the conne
160160
public function someMethod(ManagerRegistry $doctrine): void
161161
{
162162
$connection = $doctrine->getConnection('customer');
163-
$result = $connection->fetchAll('SELECT name FROM customer');
163+
$result = $connection->fetchAllAssociative('SELECT name FROM customer');
164164

165165
// ...
166166
}

0 commit comments

Comments
 (0)