mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 07:06:26 +02:00
fix get model
This commit is contained in:
parent
651c428ed7
commit
8f3634b921
2 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ namespace controllers\internals;
|
||||||
/**
|
/**
|
||||||
* Get the model for the Controller.
|
* Get the model for the Controller.
|
||||||
*/
|
*/
|
||||||
protected function get_model(): \models\Received
|
protected function get_model(): \descartes\Model
|
||||||
{
|
{
|
||||||
$this->model = $this->model ?? new \models\Received($this->bdd);
|
$this->model = $this->model ?? new \models\Received($this->bdd);
|
||||||
|
|
||||||
|
|
|
@ -307,7 +307,7 @@ namespace controllers\internals;
|
||||||
/**
|
/**
|
||||||
* Get the model for the Controller.
|
* Get the model for the Controller.
|
||||||
*/
|
*/
|
||||||
protected function get_model(): \models\Sended
|
protected function get_model(): \descartes\Model
|
||||||
{
|
{
|
||||||
$this->model = $this->model ?? new \models\Sended($this->bdd);
|
$this->model = $this->model ?? new \models\Sended($this->bdd);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue