Skip to content

Commit fd74fe8

Browse files
committed
Code style
1 parent f146b81 commit fd74fe8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Normalizer/PropertyNormalizer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PropertyNormalizer extends SerializerAwareNormalizer implements Normalizer
3838
private $camelizedAttributes = array();
3939

4040
/**
41-
* Set normalization callbacks
41+
* Set normalization callbacks.
4242
*
4343
* @param array $callbacks help normalize the result
4444
*
@@ -68,7 +68,7 @@ public function setIgnoredAttributes(array $ignoredAttributes)
6868
}
6969

7070
/**
71-
* Set attributes to be camelized on denormalize
71+
* Set attributes to be camelized on denormalize.
7272
*
7373
* @param array $camelizedAttributes
7474
*/
@@ -91,7 +91,7 @@ public function normalize($object, $format = null, array $context = array())
9191
}
9292

9393
// Override visibility
94-
if (! $property->isPublic()) {
94+
if (!$property->isPublic()) {
9595
$property->setAccessible(true);
9696
}
9797

@@ -155,7 +155,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
155155
$property = $reflectionClass->getProperty($propertyName);
156156

157157
// Override visibility
158-
if (! $property->isPublic()) {
158+
if (!$property->isPublic()) {
159159
$property->setAccessible(true);
160160
}
161161

@@ -213,7 +213,7 @@ private function supports($class)
213213

214214
// We look for at least one non-static property
215215
foreach ($class->getProperties() as $property) {
216-
if (! $property->isStatic()) {
216+
if (!$property->isStatic()) {
217217
return true;
218218
}
219219
}

0 commit comments

Comments
 (0)