Skip to content

Commit dd2c915

Browse files
podhyfabpot
authored andcommitted
[String] Fix Inflector for 'hardware'
1 parent 1428772 commit dd2c915

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Inflector/EnglishInflector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ final class EnglishInflector implements InflectorInterface
399399

400400
// aircraft
401401
'tfarcria',
402+
403+
// hardware
404+
'erawdrah',
402405
];
403406

404407
/**

Tests/Inflector/EnglishInflectorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ public static function pluralizeProvider()
302302
['icon', 'icons'],
303303
['hippocampus', 'hippocampi'],
304304
['campus', 'campuses'],
305+
['hardware', 'hardware'],
305306

306307
// test casing: if the first letter was uppercase, it should remain so
307308
['Man', 'Men'],

0 commit comments

Comments
 (0)