diff --git a/src/Symfony/Component/Inflector/Inflector.php b/src/Symfony/Component/Inflector/Inflector.php index 58399b6322..167b33a110 100644 --- a/src/Symfony/Component/Inflector/Inflector.php +++ b/src/Symfony/Component/Inflector/Inflector.php @@ -284,6 +284,9 @@ final class Inflector // indices (index) ['xedni', 5, false, true, ['indicies', 'indexes']], + // boxes (box) + ['xo', 2, false, true, 'oxes'], + // indexes (index), matrixes (matrix) ['x', 1, true, false, ['cies', 'xes']], diff --git a/src/Symfony/Component/Inflector/Tests/InflectorTest.php b/src/Symfony/Component/Inflector/Tests/InflectorTest.php index 38df846ba6..b82eb28db6 100644 --- a/src/Symfony/Component/Inflector/Tests/InflectorTest.php +++ b/src/Symfony/Component/Inflector/Tests/InflectorTest.php @@ -180,7 +180,7 @@ class InflectorTest extends TestCase ['batch', 'batches'], ['beau', ['beaus', 'beaux']], ['bee', 'bees'], - ['box', ['bocies', 'boxes']], + ['box', 'boxes'], ['boy', 'boys'], ['bureau', ['bureaus', 'bureaux']], ['bus', 'buses'],