fix get model
This commit is contained in:
parent
651c428ed7
commit
8f3634b921
|
@ -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…
Reference in New Issue