@@ -28,7 +28,7 @@ Locks are used to guarantee exclusive access to some shared resource. In
2828Symfony applications, you can use locks for example to ensure that a command is
2929not executed more than once at the same time (on the same or different servers).
3030
31- In order to manage the state of locks,you first need to create a ``Store ``
31+ In order to manage the state of locks, a ``Store `` needs to be created first
3232and then use the:class: `Symfony\\ Component\\ Lock\\ Factory ` class to actually
3333create the lock for some resource::
3434
@@ -235,7 +235,7 @@ is being acquired, it forwards the call to all the managed stores, and it
235235collects their responses. If a simple majority of stores have acquired the lock,
236236then the lock is considered as acquired; otherwise as not acquired::
237237
238- use Symfony\Component\Lock\Quorum \ConsensusStrategy;
238+ use Symfony\Component\Lock\Strategy \ConsensusStrategy;
239239 use Symfony\Component\Lock\Store\CombinedStore;
240240 use Symfony\Component\Lock\Store\RedisStore;
241241
@@ -251,7 +251,7 @@ then the lock is considered as acquired; otherwise as not acquired::
251251
252252Instead of the simple majority strategy (``ConsensusStrategy ``) an
253253``UnanimousStrategy `` can be used to require the lock to be acquired in all
254- he stores.
254+ the stores.
255255
256256.. _`locks` :https://en.wikipedia.org/wiki/Lock_(computer_science)
257257.. _Packagist :https://packagist.org/packages/symfony/lock