Skip to content

Commit

Permalink
Merge pull request #72 from veewee/fix-fatal
Browse files Browse the repository at this point in the history
Fixes fatal error
  • Loading branch information
Guite authored Mar 31, 2023
2 parents f7c4ff9 + 3112992 commit f21f43e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1676539446">
<project timestamp="1676539446">
<coverage generated="1680261076">
<project timestamp="1680261076">
<file name="/home/runner/work/xsd-reader/xsd-reader/src/Documentation/DocumentationReader.php">
<metrics loc="11" ncloc="11" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Type/SimpleType.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SimpleType extends Type
*/
protected array $unions = [];

protected ?SimpleType $list;
protected ?SimpleType $list = null;

public function addUnion(self $type): void
{
Expand Down

0 comments on commit f21f43e

Please sign in to comment.