Skip to content

Conversation

@Hubbitus
Copy link
Contributor

@Hubbitus Hubbitus commented Jan 5, 2022

Closes #40

}

if (null !== $usedClasses[$this->getParentClassName()]) {
if (null !== @$usedClasses[$this->getParentClassName()]) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (null !== @$usedClasses[$this->getParentClassName()]) {
if (true === isset($usedClasses[$this->getParentClassName()])) {

I think this would solve this as well ✌️

@nick-zh
Copy link
Member

nick-zh commented Jan 5, 2022

Many thanks for helping out with these issues 💪
I think you can close the other PR, since this one includes both fixes (or properly seperate the changes)
Also it seems some CI checks are failing

@Hubbitus
Copy link
Contributor Author

Hubbitus commented Jan 5, 2022

That is not solving the full problem properly. Please take a look at #39 which addresses both issues #38 and #40.

@Hubbitus Hubbitus closed this Jan 5, 2022
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.

Parser do not account use alias for parent classes

2 participants