Bläddra i källkod

[doc] Fix code snippet used for client options.

Daniele Alessandri 12 år sedan
förälder
incheckning
e4295ad650
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      doc/client.rst

+ 1 - 1
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) {