private function getLineInfo($lines, $line, $i)
    {
        $currentLine = $line + $i;

        $index = $currentLine - 1;

        if (!array_key_exists($index, $lines)) {
            return;
        }
        return [
            'line' => '<span class="exception-currentline">' . $currentLine . '.</span> ' . SyntaxHighlight::process($lines[$index]),
            'wrap_left' => $i ? '' : '<span class="exception-line">', // color: #F5F5F5; background-color: #5A3E3E; width: 100%; display: block;
            'wrap_right' => $i ? '' : '</span>',
        ];
    }
private function getLineInfo($lines, $line, $i)
    {
        $currentLine = $line + $i;

        $index = $currentLine - 1;

        if (!array_key_exists($index, $lines)) {
            return;
        }
        return [
            'line' => '<span class="exception-currentline">' . $currentLine . '.</span> ' . SyntaxHighlight::process($lines[$index]),
            'wrap_left' => $i ? '' : '<span class="exception-line">', // color: #F5F5F5; background-color: #5A3E3E; width: 100%; display: block;
            'wrap_right' => $i ? '' : '</span>',
        ];
    }
private function getLineInfo ( $ lines , $ line , $ i ) { $ currentLine = $ line + $ i ; $ index = $ currentLine - 1 ; if ( ! array_key_exists ( $ index , $ lines ) ) { return ; } return [ 'line' => '<span class="exception-currentline">' . $ currentLine . '.</span> ' . SyntaxHighlight :: process ( $ lines [ $ index ] ) , 'wrap_left' => $ i ? '' : '<span class="exception-line">' , // color: #F5F5F5; background-color: #5A3E3E; width: 100%; display: block; 'wrap_right' => $ i ? '' : '</span>' , ] ; }
Gets information from the line

@param $lines
@param $line
@param $i

@return array|void
Gets information from the line