Permalink
Browse files

Do not use the phpiredis-based connection in example.

  • Loading branch information...
1 parent 87823c2 commit 2691f5a48fecdf31078b1b398799ecee05f99654 @nrk committed Oct 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/execute_commands_connection.php
@@ -15,7 +15,7 @@
$parameters = Predis\Connection\Parameters::create('tcp://127.0.0.1:6379');
$profile = Predis\Profile\Factory::getDefault();
-$connection = new Predis\Async\Connection\PhpiredisStreamConnection($loop, $parameters);
+$connection = new Predis\Async\Connection\StreamConnection($loop, $parameters);
$connection->connect(function ($connection) use ($profile) {
$ping = $profile->createCommand('ping');

0 comments on commit 2691f5a

Please sign in to comment.