Skip to content

Commit df4ff9f

Browse files
committed
BelongsToMany breaking change undocumented
1 parent 90117d3 commit df4ff9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

upgrade.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ If you are overriding the `belongsToMany` method on your Eloquent model, you sho
9292
//
9393
}
9494

95+
#### BelongsToMany `getQualifiedRelatedKeyName`
96+
97+
The `getQualifiedRelatedKeyName` method has been renamed to `getQualifiedRelatedPivotKeyName`.
98+
99+
#### BelongsToMany `getQualifiedForeignKeyName`
100+
101+
The `getQualifiedForeignKeyName` method has been renamed to `getQualifiedForeignPivotKeyName`.
102+
103+
95104
#### Model `is` Method
96105

97106
If you are overriding the `is` method of your Eloquent model, you should remove the `Model` type-hint from the method. This allows the `is` method to receive `null` as an argument:

0 commit comments

Comments
 (0)