nrk/PredisServiceProvider

parseURI() : private function

bmancone opened this issue · 3 comments

I'am using "predis/predis": "~0.8.3@stable", as defined in the master branch.

In register(Application $app), line 117 :

$app["$prefix.uri_parser"] = $app->protect(function ($uri) {
    return ConnectionParameters::parseURI($uri);
});

But, parseURI() seems to be a private method..

private function parseURI($uri) { /* ... */ }
nrk commented

Seems strange as ConnectionParameters::parseURI has been made public since Predis v0.8.3 (and we are currently at v0.8.4) as you can see in the link above pointing to that specific part of code.

Did you check the output of composer install? You should see this line:

- Installing predis/predis (v0.8.4)

Hey,

Thanks for the quick answer.
Looks like removing vendor/ and running composer install again fixed it.....I had predis/predis (v0.8.0)

My bad..

nrk commented

Don't worry, it's good to hear it was just a problem of stale dependencies :-)