diff --git a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md index 105f19879..21acfce88 100644 --- a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md +++ b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md @@ -150,7 +150,7 @@ shortcuts and methods for fetching, sorting and filtering data from our database $players = Player::get(); // returns a `DataList` containing all the `Player` objects. - $player = Player::get()->byId(2); + $player = Player::get()->byID(2); // returns a single `Player` object instance that has the ID of 2. echo $player->ID;