We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 4.1.1
If a class property is an array and the default value uses class constants as keys, extracting the class throws a TypeError: Illegal offset type
TypeError: Illegal offset type
class Class1 { public $constKey = [self::class => 'foo']; }
The property is extracted.
This was broken by something around d915b7f#diff-634a48b3c9efd3101dad0b38a2be84c212cdf9d9e73246cf36de82e6e26a876eR424-R426
I'll do a PR with a test to reproduce and see If I can figure out a fix.
The text was updated successfully, but these errors were encountered:
Test to reproduce nette#143
cf3d118
a4d3b4f
0106e52
Successfully merging a pull request may close this issue.
Version: 4.1.1
Bug Description
If a class property is an array and the default value uses class constants as keys, extracting the class throws a
TypeError: Illegal offset type
Steps To Reproduce
Expected Behavior
The property is extracted.
Possible Solution
This was broken by something around d915b7f#diff-634a48b3c9efd3101dad0b38a2be84c212cdf9d9e73246cf36de82e6e26a876eR424-R426
I'll do a PR with a test to reproduce and see If I can figure out a fix.
The text was updated successfully, but these errors were encountered: