Skip to content

Commit 62beb59

Browse files
committed
fixed CS
1 parent b586675 commit 62beb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/GetSetMethodNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function denormalize($data, $class, $format = null)
7979
$params[] = $data[$paramName];
8080
// don't run set for a parameter passed to the constructor
8181
unset($data[$paramName]);
82-
} else if (!$constructorParameter->isOptional()) {
82+
} elseif (!$constructorParameter->isOptional()) {
8383
throw new RuntimeException(
8484
'Cannot create an instance of '.$class.
8585
' from serialized data because its constructor requires '.

0 commit comments

Comments
 (0)