Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Fixed E_NOTICE: Undefined property in UnexpectedUseOfThis.php #286

Closed
wants to merge 2 commits into from

Conversation

algo13
Copy link
Contributor

@algo13 algo13 commented Dec 27, 2016

class C
{
    public function f()
    {
        unset($_GET[0]);
    }
}

PHP Notice: Undefined property: PhpParser\Node\Expr\ArrayDimFetch::$name in src/Analyzer/Pass/Statement/UnexpectedUseOfThis.php on line 186

@ovr
Copy link
Owner

ovr commented Dec 29, 2016

Thanks, merged to master by cherry-pick with small edit about code style
df9e82e

Please avoid merge commits inside your PR's branches

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants