refactor: return associative array

This commit is contained in:
grandeljay 2024-01-16 17:36:17 +01:00
parent 7735b267b5
commit d913cc16b8

View file

@ -303,7 +303,7 @@ class User
'user_id' => $this->id,
]
)
->fetchAll();
->fetchAll(\PDO::FETCH_ASSOC);
return $wishlists;
}