Skip to content

Conversation

@brpauwels
Copy link
Contributor

@brpauwels brpauwels commented Jan 9, 2025

Initialize Generator::$context to avoid a Typed static property OpenApi\Generator::$context must not be accessed before initialization error when Generator::$context is called from the AbstractAnnotation constructor (line 101).

Fixes #1693

@DrIsmaileAbdallah
Copy link

i have same error this morning ! thank you @brpauwels !

@DerManoMann DerManoMann merged commit c6956de into zircote:master Jan 9, 2025
20 checks passed
@DerManoMann
Copy link
Collaborator

Thanks @brpauwels

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.

Typed static property OpenApi\Generator::$context must not be accessed before initialization

3 participants