diff --git a/core/includes/lock.inc b/core/includes/lock.inc index 7ef199e..0e7c6b5 100644 --- a/core/includes/lock.inc +++ b/core/includes/lock.inc @@ -59,7 +59,7 @@ use Drupal\Core\Lock\DatabaseLockBackend; use Drupal\Core\Lock\LockBackendInterface; /** - * Get locking layer instance. + * Gets locking layer instance. * * @return Drupal\Core\Lock\LockBackendInterface */ @@ -88,7 +88,7 @@ function lock() { } /** - * Acquire (or renew) a lock, but do not block if it fails. + * Acquires (or renews) a lock, but does not block if it fails. * * @param $name * The name of the lock. @@ -105,7 +105,7 @@ function lock_acquire($name, $timeout = 30.0) { } /** - * Wait for a lock to be available. + * Waits for a lock to be available. * * This function may be called in a request that fails to acquire a desired * lock. This will block further execution until the lock is available or the @@ -128,7 +128,7 @@ function lock_wait($name, $delay = 30) { } /** - * Release a lock previously acquired by lock_acquire(). + * Releases a lock previously acquired by lock_acquire(). * * This will release the named lock if it is still held by the current request. * @@ -142,7 +142,7 @@ function lock_release($name) { } /** - * Release all previously acquired locks. + * Releases all previously acquired locks. * * @deprecated */