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:
parent
92b39e3d1f
commit
3bc31488ce
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user