diff --git a/components/lock.rst b/components/lock.rst index 0d851dca8cc..2f05c628924 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -262,7 +262,7 @@ then the lock is considered as acquired; otherwise as not acquired:: $stores = []; foreach (array('server1', 'server2', 'server3') as $server) { - $redis= new \Redis(); + $redis = new \Redis(); $redis->connect($server); $stores[] = new RedisStore($redis);