Skip to content

Commit bf85329

Browse files
PSR-2 fixes
1 parent 7db37bb commit bf85329

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Extension/Core/DataTransformer/ArrayToPartsTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function transform($array)
3232
$array = array();
3333
}
3434

35-
if (!is_array($array) ) {
35+
if (!is_array($array)) {
3636
throw new TransformationFailedException('Expected an array.');
3737
}
3838

@@ -51,7 +51,7 @@ public function transform($array)
5151

5252
public function reverseTransform($array)
5353
{
54-
if (!is_array($array) ) {
54+
if (!is_array($array)) {
5555
throw new TransformationFailedException('Expected an array.');
5656
}
5757

Tests/Extension/Validator/ValidatorTypeGuesserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function testGuessMaxLengthForConstraintWithMinValue()
113113

114114
public function maxLengthTypeProvider()
115115
{
116-
return array (
116+
return array(
117117
array('double'),
118118
array('float'),
119119
array('numeric'),

Tests/Extension/Validator/ViolationMapper/ViolationMapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function testAbortMappingIfNotSynchronized()
168168
$child = $this->getForm('address', 'address', null, array(), false, false);
169169
// even though "street" is synchronized, it should not have any errors
170170
// due to its parent not being synchronized
171-
$grandChild = $this->getForm('street' , 'street');
171+
$grandChild = $this->getForm('street', 'street');
172172

173173
$parent->add($child);
174174
$child->add($grandChild);

0 commit comments

Comments
 (0)