fix get model

This commit is contained in:
osaajani 2021-07-19 15:57:18 +02:00
parent 651c428ed7
commit 8f3634b921
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ namespace controllers\internals;
/**
* 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);

View File

@ -307,7 +307,7 @@ namespace controllers\internals;
/**
* 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);