Skip to content

Commit 39f07d0

Browse files
committed
[Serializer] Fix CS
1 parent 5be84c4 commit 39f07d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/Serializer/Encoder/JsonEncode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function supportsEncoding($format)
7171
/**
7272
* Merge default json encode options with context.
7373
*
74-
* @param array $context
74+
* @param array $context
7575
*
7676
* @return array
7777
*/

src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
187187
* As option, if attribute name is found on camelizedAttributes array
188188
* returns attribute name in camelcase format.
189189
*
190-
* @param string $attributeName
190+
* @param string $attributeName
191191
*
192192
* @return string
193193
*/

src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
140140

141141
$object = $reflectionClass->newInstanceArgs($params);
142142
} else {
143-
$object = new $class;
143+
$object = new $class();
144144
}
145145

146146
foreach ($data as $propertyName => $value) {

0 commit comments

Comments
 (0)