@@ -68,7 +68,7 @@ |
||
68 | 68 | $mutex = $this->mutex; |
69 | 69 | |
70 | 70 | while ($attemptTotal > 0 && !$acquired = $mutex->acquire($generatedKey, $ttl)) { |
71 | - $attemptTotal --; |
|
71 | + $attemptTotal--; |
|
72 | 72 | sleep($this->wait); |
73 | 73 | } |
74 | 74 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | $acquired = $this->memcached->add($key, true, $ttl); |
42 | 42 | |
43 | - return ($acquired === true) ? $key: null; |
|
43 | + return ($acquired === true) ? $key : null; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |