Browse Source

Merge pull request #11601 from cakephp/revert-11598-add-irregular-word

Revert "Added irregular word to inflector: receive"
Mark Story 8 years ago
parent
commit
698f6bb917
2 changed files with 2 additions and 4 deletions
  1. 1 2
      src/Utility/Inflector.php
  2. 1 2
      tests/TestCase/Utility/InflectorTest.php

+ 1 - 2
src/Utility/Inflector.php

@@ -144,8 +144,7 @@ class Inflector
         'goose' => 'geese',
         'foot' => 'feet',
         'foe' => 'foes',
-        'sieve' => 'sieves',
-        'receive' => 'receives',
+        'sieve' => 'sieves'
     ];
 
     /**

+ 1 - 2
tests/TestCase/Utility/InflectorTest.php

@@ -304,8 +304,7 @@ class InflectorTest extends TestCase
             ['blue_octopuses', 'blue_octopus'],
             ['chefs', 'chef'],
             ['', ''],
-            ['pokemon', 'pokemon'],
-            ['receives', 'receive'],
+            ['pokemon', 'pokemon']
         ];
     }