Skip to content

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