refactor: return associative array
This commit is contained in:
parent
7735b267b5
commit
d913cc16b8
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class User
|
||||||
'user_id' => $this->id,
|
'user_id' => $this->id,
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
->fetchAll();
|
->fetchAll(\PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
return $wishlists;
|
return $wishlists;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue