Skip to content

Commit 4ad9c5d

Browse files
committed
Amend docblocks
1 parent 2972e21 commit 4ad9c5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Lock/Backend/Database.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function __construct(
2828
* @param string $name lock name
2929
* @param int $timeout How long to wait lock acquisition in seconds, negative value means infinite timeout
3030
* @return bool
31+
* @throws InputException
3132
*/
3233
public function setLock(string $name, int $timeout = -1): bool
3334
{
@@ -42,6 +43,7 @@ public function setLock(string $name, int $timeout = -1): bool
4243
*
4344
* @param string $name lock name
4445
* @return bool
46+
* @throws InputException
4547
*/
4648
public function releaseLock(string $name): bool
4749
{
@@ -55,6 +57,7 @@ public function releaseLock(string $name): bool
5557
*
5658
* @param string $name lock name
5759
* @return bool
60+
* @throws InputException
5861
*/
5962
public function isLocked(string $name): bool
6063
{

0 commit comments

Comments
 (0)