PHPSA\IssueLocation::toArray PHP Method

toArray() public method

public toArray ( ) : array
return array
    public function toArray()
    {
        return ['path' => $this->filePath, 'lines' => ['begin' => $this->lineStart, 'end' => $this->lineStart]];
    }