Skip to content

Commit 9455097

Browse files
Nyholmnicolas-grekas
authored andcommitted
[Inflector] Fixed pluralize "coupon"
1 parent a8691d0 commit 9455097

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Inflector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ final class Inflector
231231
// bacteria (bacterium), criteria (criterion), phenomena (phenomenon)
232232
['noi', 3, true, true, 'ions'],
233233

234+
// coupon (coupons)
235+
['nop', 3, true, true, 'pons'],
236+
234237
// seasons (season), treasons (treason), poisons (poison), lessons (lesson)
235238
['nos', 3, true, true, 'sons'],
236239

Tests/InflectorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ public function pluralizeProvider()
201201
['crisis', 'crises'],
202202
['criteria', 'criterion'],
203203
['cup', 'cups'],
204+
['coupon', 'coupons'],
204205
['data', 'data'],
205206
['day', 'days'],
206207
['disco', 'discos'],

0 commit comments

Comments
 (0)