Skip to content

Commit

Permalink
Remove unused ModelInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Apr 13, 2023
1 parent 235c0da commit a5cc58c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,6 @@ the ``$model`` property is used, which has the instance of
use App\Models\UsersModel;
use Framework\MVC\Controller;
use Framework\MVC\ModelInterface;
class Users extends Controller
{
Expand Down Expand Up @@ -2462,11 +2461,10 @@ JSON-encoded and added to the Response body:
use App\Models\UsersModel;
use Framework\MVC\Controller;
use Framework\MVC\ModelInterface;
class Users extends Controller
{
protected ModelInterface | UsersModel $model;
protected UsersModel $model;
public function index() : array
{
Expand Down

0 comments on commit a5cc58c

Please sign in to comment.