mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix style coding
This commit is contained in:
parent
bb6f755ef2
commit
07f57e0145
13 changed files with 52 additions and 161 deletions
|
@ -144,17 +144,18 @@ namespace controllers\internals;
|
|||
}
|
||||
|
||||
/**
|
||||
* Update status
|
||||
* Update status.
|
||||
*
|
||||
* @param int $id_sended : id of the sended to mark as delivered
|
||||
* @param string $status : new status
|
||||
*
|
||||
* @param int $id_sended : id of the sended to mark as delivered
|
||||
* @param string $status : new status
|
||||
* @return int
|
||||
*/
|
||||
public function update_status($id_sended, $status)
|
||||
{
|
||||
return $this->model_sended->update($id_sended, ['status' => $status]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Update sended to delivered.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue