Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ParachainsDev opened this issue Feb 19, 2021 · 1 comment
Open

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

ParachainsDev opened this issue Feb 19, 2021 · 1 comment

Comments

@ParachainsDev
Copy link

    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

@JKingweb
Copy link
Contributor

This was already fixed in #16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants