Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit deed724

Browse filesBrowse 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
Copy full SHA for deed724

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/Translation/Test/TranslatorTest.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.