Skip to content

Commit

Permalink
PHP 8 Compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
olimortimer authored Feb 5, 2021
1 parent f2350c2 commit 349261a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser/XmlParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private function newPhpObject(\stdClass $meta)
case 'double':
case 'boolean':
case 'DateTime':
continue;
continue 2;
default:
return $meta->phpType !== '' ? new $phpType() : null;
}
Expand Down Expand Up @@ -258,7 +258,7 @@ private function isSimplePhpType(\stdClass $meta)
case 'double':
case 'boolean':
case 'DateTime':
continue;
continue 2;
default:
return false;
}
Expand Down

0 comments on commit 349261a

Please sign in to comment.