rename all instances of 'datas' to 'data'

This commit is contained in:
osaajani 2021-01-17 03:16:57 +01:00
parent 730ac8963b
commit 61d644c247
48 changed files with 316 additions and 316 deletions

View file

@ -44,11 +44,11 @@ namespace controllers\internals;
*/
public function update_for_user(int $id_user, int $id_smsstop, string $number)
{
$datas = [
$data = [
'number' => $number,
];
return $this->get_model()->update_for_user($id_user, $id_smsstop, $datas);
return $this->get_model()->update_for_user($id_user, $id_smsstop, $data);
}
/**