Skip to content

Commit a59441f

Browse files
authored
Merge pull request #8839 from obozdag/patch-6
docs: Fix typo in models/model.rst
2 parents c85acfa + 6a79a09 commit a59441f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/models/model.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See :ref:`factories-loading-class` for details on the first parameter.
3434
CodeIgniter's Model
3535
*******************
3636

37-
CodeIgniter does provide a model class that provides a few nice features, including:
37+
CodeIgniter does provide a model class that has a few nice features, including:
3838

3939
- automatic database connection
4040
- basic CRUD methods
@@ -580,7 +580,7 @@ automatically, based on whether it finds an array key matching the **primary key
580580
The save method also can make working with custom class result objects much simpler by recognizing a non-simple
581581
object and grabbing its public and protected values into an array, which is then passed to the appropriate
582582
insert or update method. This allows you to work with Entity classes in a very clean way. Entity classes are
583-
simple classes that represent a single instance of an object type, like a user, a blog post, job, etc. This
583+
simple classes that represent a single instance of an object type, like a user, a blog post, a job, etc. This
584584
class is responsible for maintaining the business logic surrounding the object itself, like formatting
585585
elements in a certain way, etc. They shouldn't have any idea about how they are saved to the database. At their
586586
simplest, they might look like this:

0 commit comments

Comments
 (0)