Overtrue\PHPLint\Process\Lint::getSyntaxError PHP Method

getSyntaxError() public method

public getSyntaxError ( ) : boolean | string
return boolean | string
    public function getSyntaxError()
    {
        if ($this->hasSyntaxError()) {
            $out = explode("\n", trim($this->getOutput()));
            return $this->parseError(array_shift($out));
        }
        return false;
    }