Skip to content

Commit 349261a

Browse files
authored
PHP 8 Compatible
1 parent f2350c2 commit 349261a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parser/XmlParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function newPhpObject(\stdClass $meta)
212212
case 'double':
213213
case 'boolean':
214214
case 'DateTime':
215-
continue;
215+
continue 2;
216216
default:
217217
return $meta->phpType !== '' ? new $phpType() : null;
218218
}
@@ -258,7 +258,7 @@ private function isSimplePhpType(\stdClass $meta)
258258
case 'double':
259259
case 'boolean':
260260
case 'DateTime':
261-
continue;
261+
continue 2;
262262
default:
263263
return false;
264264
}

0 commit comments

Comments
 (0)