Skip to content

Commit deed724

Browse files
committed
minor #48597 [Contracts] Fix typo "internal" / "interval" (Kocal)
This PR was merged into the 5.4 branch. Discussion ---------- [Contracts] Fix typo "internal" / "interval" | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Rename `getInternal` to `getInterval` in Translator tests. Commits ------- ef8c3cd [Translator] Fix typo "internal" / "interval"
2 parents 5ac1693 + ef8c3cd commit deed724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Contracts/Translation/Test/TranslatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function getTransChoiceTests()
140140
}
141141

142142
/**
143-
* @dataProvider getInternal
143+
* @dataProvider getInterval
144144
*/
145145
public function testInterval($expected, $number, $interval)
146146
{
@@ -149,7 +149,7 @@ public function testInterval($expected, $number, $interval)
149149
$this->assertEquals($expected, $translator->trans($interval.' foo|[1,Inf[ bar', ['%count%' => $number]));
150150
}
151151

152-
public function getInternal()
152+
public function getInterval()
153153
{
154154
return [
155155
['foo', 3, '{1,2, 3 ,4}'],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy