@@ -38,7 +38,7 @@ class PropertyNormalizer extends SerializerAwareNormalizer implements Normalizer
38
38
private $ camelizedAttributes = array ();
39
39
40
40
/**
41
- * Set normalization callbacks
41
+ * Set normalization callbacks.
42
42
*
43
43
* @param array $callbacks help normalize the result
44
44
*
@@ -68,7 +68,7 @@ public function setIgnoredAttributes(array $ignoredAttributes)
68
68
}
69
69
70
70
/**
71
- * Set attributes to be camelized on denormalize
71
+ * Set attributes to be camelized on denormalize.
72
72
*
73
73
* @param array $camelizedAttributes
74
74
*/
@@ -91,7 +91,7 @@ public function normalize($object, $format = null, array $context = array())
91
91
}
92
92
93
93
// Override visibility
94
- if (! $ property ->isPublic ()) {
94
+ if (!$ property ->isPublic ()) {
95
95
$ property ->setAccessible (true );
96
96
}
97
97
@@ -155,7 +155,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
155
155
$ property = $ reflectionClass ->getProperty ($ propertyName );
156
156
157
157
// Override visibility
158
- if (! $ property ->isPublic ()) {
158
+ if (!$ property ->isPublic ()) {
159
159
$ property ->setAccessible (true );
160
160
}
161
161
@@ -213,7 +213,7 @@ private function supports($class)
213
213
214
214
// We look for at least one non-static property
215
215
foreach ($ class ->getProperties () as $ property ) {
216
- if (! $ property ->isStatic ()) {
216
+ if (!$ property ->isStatic ()) {
217
217
return true ;
218
218
}
219
219
}
0 commit comments