1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Combine issets (#460)

This commit is contained in:
Gabriel Caruso 2018-01-04 10:36:01 -02:00 committed by Nikita Popov
parent 92b39e3d1f
commit 3bc31488ce

View File

@ -99,7 +99,7 @@ class Error extends \RuntimeException
* @return bool * @return bool
*/ */
public function hasColumnInfo() : bool { public function hasColumnInfo() : bool {
return isset($this->attributes['startFilePos']) && isset($this->attributes['endFilePos']); return isset($this->attributes['startFilePos'], $this->attributes['endFilePos']);
} }
/** /**