Skip to content

Commit a5cc58c

Browse files
committed
Remove unused ModelInterface
1 parent 235c0da commit a5cc58c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

guide/index.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,6 @@ the ``$model`` property is used, which has the instance of
24322432
24332433
use App\Models\UsersModel;
24342434
use Framework\MVC\Controller;
2435-
use Framework\MVC\ModelInterface;
24362435
24372436
class Users extends Controller
24382437
{
@@ -2462,11 +2461,10 @@ JSON-encoded and added to the Response body:
24622461
24632462
use App\Models\UsersModel;
24642463
use Framework\MVC\Controller;
2465-
use Framework\MVC\ModelInterface;
24662464
24672465
class Users extends Controller
24682466
{
2469-
protected ModelInterface | UsersModel $model;
2467+
protected UsersModel $model;
24702468
24712469
public function index() : array
24722470
{

0 commit comments

Comments
 (0)