Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8fc4f6c

Browse files
authoredFeb 10, 2022
Grammar Fix - Subject-Verb Agreement (laravel#7688)
This PR fixes a grammar error; i.e., "This changes makes ..." to "This change makes ...".
1 parent 45cd285 commit 8fc4f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ $user->roles()->updateOrCreate([
233233
]);
234234
```
235235

236-
In addition, the `firstOrCreate` method now accepts a `$values` array as its second argument. This array will be merged with the first argument to the method (`$attributes`) when creating the related model if one does not already exist. This changes makes this method consistent with the `firstOrCreate` methods offered by other relationship types:
236+
In addition, the `firstOrCreate` method now accepts a `$values` array as its second argument. This array will be merged with the first argument to the method (`$attributes`) when creating the related model if one does not already exist. This change makes this method consistent with the `firstOrCreate` methods offered by other relationship types:
237237

238238
```php
239239
$user->roles()->firstOrCreate([

0 commit comments

Comments
 (0)
Please sign in to comment.