Skip to content

Commit 3b31540

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Serializer] cs fix Cleanup more `@return` annotations [Form] Fix phpdoc on FormBuilderInterface
2 parents 49d4ad8 + 23bcc2d commit 3b31540

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

Key.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ public function reduceLifetime(float $ttl)
7878
}
7979

8080
/**
81-
* Returns the remaining lifetime.
82-
*
83-
* @return float|null Remaining lifetime in seconds. Null when the key won't expire.
81+
* Returns the remaining lifetime in seconds.
8482
*/
8583
public function getRemainingLifetime(): ?float
8684
{

LockInterface.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ interface LockInterface
2626
* Acquires the lock. If the lock is acquired by someone else, the parameter `blocking` determines whether or not
2727
* the call should block until the release of the lock.
2828
*
29-
* @return bool whether or not the lock had been acquired
30-
*
3129
* @throws LockConflictedException If the lock is acquired by someone else in blocking mode
3230
* @throws LockAcquiringException If the lock can not be acquired
3331
*/
@@ -58,9 +56,7 @@ public function release();
5856
public function isExpired(): bool;
5957

6058
/**
61-
* Returns the remaining lifetime.
62-
*
63-
* @return float|null Remaining lifetime in seconds. Null when the lock won't expire.
59+
* Returns the remaining lifetime in seconds.
6460
*/
6561
public function getRemainingLifetime(): ?float;
6662
}

SharedLockInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ interface SharedLockInterface extends LockInterface
2525
* Acquires the lock for reading. If the lock is acquired by someone else in write mode, the parameter `blocking`
2626
* determines whether or not the call should block until the release of the lock.
2727
*
28-
* @return bool whether or not the lock had been acquired
29-
*
3028
* @throws LockConflictedException If the lock is acquired by someone else in blocking mode
3129
* @throws LockAcquiringException If the lock can not be acquired
3230
*/

Store/MongoDbStore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ private function createMongoDateTime(float $seconds): UTCDateTime
350350
* Retrieves an unique token for the given key namespaced to this store.
351351
*
352352
* @param Key lock state container
353-
*
354-
* @return string token
355353
*/
356354
private function getUniqueToken(Key $key): string
357355
{

0 commit comments

Comments
 (0)