We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45721be commit 3d4a3feCopy full SHA for 3d4a3fe
src/Auth/Source/SQL.php
@@ -161,9 +161,9 @@ protected function connect(): PDO
161
* @param array $attributes output place to store extracted attributes
162
* @param array $data Associative array from database in the format of PDO fetchAll
163
* @param array $forbiddenAttributes An array of attributes to never return
164
- * @return array $attributes
+ * @return array &$attributes
165
*/
166
- protected function extractAttributes(array $attributes, array $data, array $forbiddenAttributes = []): array
+ protected function extractAttributes(array &$attributes, array $data, array $forbiddenAttributes = []): array
167
{
168
foreach ($data as $row) {
169
foreach ($row as $name => $value) {
0 commit comments