|
@@ -101,7 +101,7 @@ discard block |
|
|
block discarded – undo |
|
101
|
101
|
$key = $property->getName(); |
|
102
|
102
|
|
|
103
|
103
|
if (isset($this->annotationReader) && !array_key_exists($key, $data)) { |
|
104
|
|
- $alias = $this->annotationReader->getPropertyAnnotation($property, Annotation\Alias::class); |
|
|
104
|
+ $alias = $this->annotationReader->getPropertyAnnotation($property, Annotation\Alias::class); |
|
105
|
105
|
if ($alias instanceof Annotation\Alias) { |
|
106
|
106
|
$key = $alias->value; |
|
107
|
107
|
} |
|
@@ -354,7 +354,7 @@ discard block |
|
|
block discarded – undo |
|
354
|
354
|
|
|
355
|
355
|
// support for integer cases... |
|
356
|
356
|
if (is_int($value) || ctype_digit($value)) { |
|
357
|
|
- $value = '_' . $value; |
|
|
357
|
+ $value = '_'.$value; |
|
358
|
358
|
} |
|
359
|
359
|
|
|
360
|
360
|
$enum = $type->getName(); |
Please login to merge, or discard this patch.