Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[doc] Fix code snippet used for client options.

  • Loading branch information...
commit e4295ad650d4180383ba53d65f1e885db4ed549e 1 parent 36671ad
@nrk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/client.rst
View
2  doc/client.rst
@@ -156,7 +156,7 @@ Just like standard options, they are accessible from callable initializers::
'get' => Predis\Command\StringGet,
),
'profile' => function ($options, $option) {
- $profile = $option->getDefault();
+ $profile = $option->getDefault($options);
if (is_array($options->commands)) {
foreach ($options->commands as $command => $class) {
Please sign in to comment.
Something went wrong with that request. Please try again.