Skip to content

Commit

Permalink
Merge pull request #28749 from iamthefreeman/bugfix/added_related_to_…
Browse files Browse the repository at this point in the history
…pluralizer

[5.8] Added "Related" and "Recommended" to Pluralizer
  • Loading branch information
taylorotwell authored Jun 7, 2019
2 parents 5714b21 + 4216286 commit 0eddd96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Illuminate/Support/Pluralizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class Pluralizer
'pokemon',
'police',
'rain',
'recommended',
'related',
'rice',
'series',
'sheep',
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Database/EloquentModelLoadCountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function setUp(): void
$table->unsignedInteger('base_model_id');
});

Schema::create('deleted_relateds', function (Blueprint $table) {
Schema::create('deleted_related', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('base_model_id');
$table->softDeletes();
Expand Down

0 comments on commit 0eddd96

Please sign in to comment.