Skip to content

Error in picofeed\lib\PicoFeed\Client\Url.php #30

Open
@ParachainsDev

Description

@ParachainsDev
    public function isRelativePath()
    {
        $path = $this->getPath();

        return empty($path) || $path{0}
        !== '/';
    }
    
    need to fix and replace with
        public function isRelativePath()
    {
        $path = $this->getPath();

        return empty($path) || $path[0]
        !== '/';
    }
    

$path[0] but not $path{0} as library does not work on php >=7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions