mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14:46:27 +02:00
Finish add conditional groups
This commit is contained in:
parent
f4bbfa0152
commit
47b26e3cd2
15 changed files with 273 additions and 67 deletions
|
@ -68,7 +68,7 @@ namespace controllers\internals;
|
|||
* @param string $datas : Contact datas
|
||||
* @return mixed bool|int : False if cannot create contact, id of the new contact else
|
||||
*/
|
||||
public function create($id_user, $number, $name, ?string $datas = null)
|
||||
public function create($id_user, $number, $name, $datas)
|
||||
{
|
||||
$contact = [
|
||||
'id_user' => $id_user,
|
||||
|
@ -99,7 +99,7 @@ namespace controllers\internals;
|
|||
* @param ?string $datas : Contact datas
|
||||
* @return int : number of modified rows
|
||||
*/
|
||||
public function update_for_user(int $id_user, int $id, string $number, string $name, ?string $datas)
|
||||
public function update_for_user(int $id_user, int $id, string $number, string $name, string $datas)
|
||||
{
|
||||
$contact = [
|
||||
'number' => $number,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue