Skip to content

Commit 95142ae

Browse files
committed
Update JsonConverter.php
1 parent 4ceebd4 commit 95142ae

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

webfiori/json/JsonConverter.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ private static function checkJsonType($val, $valType, $propsStyle, $asObj) {
244244
} else if ($valType == JsonTypes::OBJ) {
245245
$retVal .= self::objToJson($val, $propsStyle);
246246
} else if ($valType == JsonTypes::ARR) {
247-
$retVal .= self::arrayToJsonString($val, $asObj, $propsStyle);
248-
247+
$retVal .= self::arrayToJsonString($val, $asObj, $propsStyle);
249248
}
249+
250250
return $retVal;
251251
}
252252
private static function checkJsonXType($datatype, $value, Property $prop = null, $isArrayValue = false) {
@@ -302,7 +302,6 @@ private static function checkJsonXType($datatype, $value, Property $prop = null,
302302
} else {
303303
$retVal = self::arrayToJsonX($prop, $value);
304304
}
305-
306305
}
307306

308307
return $retVal;

0 commit comments

Comments
 (0)