Skip to content

Commit 1e72143

Browse files
authored
📝 Fixed typo
1 parent 2008c4e commit 1e72143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/development/services/model/relating-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Here `left` describes the pivot table key connecting the current model and `righ
123123

124124
## Inverse Relationships
125125

126-
All relationships must be declared in both associated models. Thif tmproves code consistency and predictability by allowing both sides of the relationship to be altered without creating orphaned objects. This is particularly important when creating parent-child relationships that cascade their deletions automatically.
126+
All relationships must be declared in both associated models. This improves code consistency and predictability by allowing both sides of the relationship to be altered without creating orphaned objects. This is particularly important when creating parent-child relationships that cascade their deletions automatically.
127127

128128
When relating to models that are not your own, this becomes problematic since your addon cannot directly add relationships to native models. To get around this problem and to allow for native events to cascade to your models, you must declare all external dependencies in your `addon.setup.php` file:
129129

0 commit comments

Comments
 (0)