File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function isExpired(): bool
9595 public function __sleep (): array
9696 {
9797 if (!$ this ->serializable ) {
98- throw new UnserializableKeyException ('The key can not be serialized. ' );
98+ throw new UnserializableKeyException ('The key cannot be serialized. ' );
9999 }
100100
101101 return ['resource ' , 'expiringTime ' , 'state ' ];
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ interface LockInterface
2929 * @return bool
3030 *
3131 * @throws LockConflictedException If the lock is acquired by someone else in blocking mode
32- * @throws LockAcquiringException If the lock can not be acquired
32+ * @throws LockAcquiringException If the lock cannot be acquired
3333 */
3434 public function acquire (bool $ blocking = false );
3535
@@ -39,7 +39,7 @@ public function acquire(bool $blocking = false);
3939 * @param float|null $ttl Maximum expected lock duration in seconds
4040 *
4141 * @throws LockConflictedException If the lock is acquired by someone else
42- * @throws LockAcquiringException If the lock can not be refreshed
42+ * @throws LockAcquiringException If the lock cannot be refreshed
4343 */
4444 public function refresh (float $ ttl = null );
4545
@@ -53,7 +53,7 @@ public function isAcquired();
5353 /**
5454 * Release the lock.
5555 *
56- * @throws LockReleasingException If the lock can not be released
56+ * @throws LockReleasingException If the lock cannot be released
5757 */
5858 public function release ();
5959
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ interface SharedLockInterface extends LockInterface
2828 * @return bool
2929 *
3030 * @throws LockConflictedException If the lock is acquired by someone else in blocking mode
31- * @throws LockAcquiringException If the lock can not be acquired
31+ * @throws LockAcquiringException If the lock cannot be acquired
3232 */
3333 public function acquireRead (bool $ blocking = false );
3434}
You can’t perform that action at this time.
0 commit comments