protected function buildUri(string $uri, string $filePath, int $line): string
    {
        $uri = str_replace('%file', $filePath, $uri);
        $uri = str_replace('%line', $line, $uri);

        return $uri;
    }
protected function buildUri(string $uri, string $filePath, int $line): string
    {
        $uri = str_replace('%file', $filePath, $uri);
        $uri = str_replace('%line', $line, $uri);

        return $uri;
    }
protected function buildUri ( string $ uri , string $ filePath , int $ line ) : string { $ uri = str_replace ( '%file' , $ filePath , $ uri ) ; $ uri = str_replace ( '%line' , $ line , $ uri ) ; return $ uri ; }
Build URI for editor based on file path and line.

@param string $uri
@param string $filePath
@param int $line
@return string
Build URI for editor based on file path and line .