Skip to content

Commit b21a73b

Browse files
Ron Pringlesamdark
Ron Pringle
authored andcommitted
Fixed typo [skip ci]
1 parent a774adf commit b21a73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/ar-single-table-inheritance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ are introduced just for convenience.
175175
The `Car` model is pretty much what was generated by Gii except additional `instantiate` method. This method is called
176176
after data is retrieved from database and is about to be used to initialize class properties. Return value is uninitialized
177177
class instance and the only argument passed to the method is the row of data retrieved from the database. Exactly what we need.
178-
The implementation is a simple switch statement where we're checking if the `type` field matches type of the classes we suport.
178+
The implementation is a simple switch statement where we're checking if the `type` field matches type of the classes we support.
179179
If so, an instance of the class is returned. If nothing matches, it falls back to returning a `Car` model instance.
180180

181181
Handling unique values

0 commit comments

Comments
 (0)