Skip to content

Update src/Generator/TypeBuilder.php #761

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

Merged
merged 1 commit into from
Oct 7, 2020
Merged

Update src/Generator/TypeBuilder.php #761

merged 1 commit into from
Oct 7, 2020

Conversation

koekaverna
Copy link

Change self:: to static:: when refreing to class constant

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? no
Fixed tickets #...
License MIT

In my project I need to extends Overblog\GraphQLBundle\Generator\TypeBuilder to overide protected const EXTENDS;
I use custom Enum in my models and I need to overide EnumType serrializer to make it works. So I updated TypeBuilder to use static::EXTENDS instead self::EXTENDS

Change self:: to static:: when refreing to class constant
@murtukov murtukov merged commit 6192522 into overblog:master Oct 7, 2020
@koekaverna
Copy link
Author

@murtukov thx!

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