PHPSA\Issue::toArray PHP Method

toArray() public method

public toArray ( ) : array
return array
    public function toArray()
    {
        return ['type' => $this->type, 'check_name' => $this->checkName, 'description' => $this->description, 'location' => $this->location->toArray(), 'categories' => $this->categories];
    }