Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes fatal error #72

Merged
merged 2 commits into from
Mar 31, 2023
Merged

Fixes fatal error #72

merged 2 commits into from
Mar 31, 2023

Conversation

veewee
Copy link
Contributor

@veewee veewee commented Mar 31, 2023

Whilst parsing information from a simple type from my xsd schema, I'm getting:

Fatal error: Uncaught Error: Typed property GoetasWebservices\XML\XSDReader\Schema\Type\SimpleType::$list must not be accessed before initialization in /vendor/goetas-webservices/xsd-reader/src/Schema/Type/SimpleType.php:32

This PR adds the default value of null, which solves the issue.

@Guite Guite merged commit f21f43e into goetas-webservices:master Mar 31, 2023
@Guite
Copy link
Collaborator

Guite commented Mar 31, 2023

Thank you @veewee

@Guite
Copy link
Collaborator

Guite commented Mar 31, 2023

Going to release 0.4.1 with this fix.

@veewee
Copy link
Contributor Author

veewee commented Mar 31, 2023

Thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants