mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
Update all controllers get_model
This commit is contained in:
parent
bc622285a4
commit
27d2a6c5b2
14 changed files with 69 additions and 40 deletions
|
@ -13,7 +13,7 @@ namespace controllers\internals;
|
|||
|
||||
class Phone extends StandardController
|
||||
{
|
||||
protected $model = false;
|
||||
protected $model = null;
|
||||
|
||||
/**
|
||||
* Get the model for the Controller
|
||||
|
@ -31,7 +31,7 @@ namespace controllers\internals;
|
|||
* @param string $number : Phone number
|
||||
* @return array
|
||||
*/
|
||||
public function get_by_number_and_user(int $id_user, string $number,)
|
||||
public function get_by_number_and_user(int $id_user, string $number)
|
||||
{
|
||||
return $this->model_phone->get_by_number_and_user($id_user, $number);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue