mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
Remove unused ParserAbstract::$errors property
Leftover from before ErrorHandler was introduced.
This commit is contained in:
parent
7208b1c7ac
commit
6121001576
@ -109,8 +109,6 @@ abstract class ParserAbstract implements Parser
|
||||
|
||||
/** @var ErrorHandler Error handler */
|
||||
protected $errorHandler;
|
||||
/** @var Error[] Errors collected during last parse */
|
||||
protected $errors;
|
||||
/** @var int Error state, used to avoid error floods */
|
||||
protected $errorState;
|
||||
|
||||
@ -129,7 +127,6 @@ abstract class ParserAbstract implements Parser
|
||||
*/
|
||||
public function __construct(Lexer $lexer, array $options = []) {
|
||||
$this->lexer = $lexer;
|
||||
$this->errors = [];
|
||||
|
||||
if (isset($options['throwOnError'])) {
|
||||
throw new \LogicException(
|
||||
|
Loading…
Reference in New Issue
Block a user