Update internal controllers to use standard one

This commit is contained in:
osaajani 2019-11-14 02:02:50 +01:00
parent 25b461d611
commit bc622285a4
16 changed files with 558 additions and 880 deletions

View file

@ -26,7 +26,7 @@ namespace models;
* @param string $number : phone number
* @return array
*/
public function get_by_number_for_user (int $id_user, string $number)
public function get_by_number_and_user (int $id_user, string $number)
{
return $this->_select_one('phone', ['number' => $number, 'id_user' => $id_user]);
}