Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3afab7

Browse files
committed
minor #32748 Typo in variable name (OskarStark)
This PR was merged into the 4.4 branch. Discussion ---------- Typo in variable name | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | Refs #32587 Commits ------- 784d1d0 Typo in variable name
2 parents 86440a4 + 784d1d0 commit e3afab7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Form/Tests/Extension/Validator/ValidatorTypeGuesserTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ public function testGuessMaxLengthForConstraintWithMinValue()
114114

115115
public function testGuessMimeTypesForConstraintWithMimeTypesValue()
116116
{
117-
$mineTypes = ['image/png', 'image/jpeg'];
118-
$constraint = new File(['mimeTypes' => $mineTypes]);
117+
$mimeTypes = ['image/png', 'image/jpeg'];
118+
$constraint = new File(['mimeTypes' => $mimeTypes]);
119119
$typeGuess = $this->guesser->guessTypeForConstraint($constraint);
120120
$this->assertInstanceOf('Symfony\Component\Form\Guess\TypeGuess', $typeGuess);
121121
$this->assertArrayHasKey('attr', $typeGuess->getOptions());
122122
$this->assertArrayHasKey('accept', $typeGuess->getOptions()['attr']);
123-
$this->assertEquals(implode(',', $mineTypes), $typeGuess->getOptions()['attr']['accept']);
123+
$this->assertEquals(implode(',', $mimeTypes), $typeGuess->getOptions()['attr']['accept']);
124124
}
125125

126126
public function testGuessMimeTypesForConstraintWithoutMimeTypesValue()

0 commit comments

Comments
 (0)