1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix #2004 - remove useless unset

This commit is contained in:
Matthew Brown 2019-08-11 17:16:57 -04:00
parent f1de94967b
commit d3f924a49e

View File

@ -439,9 +439,6 @@ class StatementsProvider
}
}
/** @psalm-suppress NoInterfaceProperties */
unset(self::$parser->errorHander);
$error_handler->clearErrors();
$resolving_traverser = new PhpParser\NodeTraverser;