Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d627f6b

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: Update doctrine.rst
2 parents 09cd586 + 6af6968 commit d627f6b

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)