Skip to content

Commit f03ce43

Browse files
Merge branch '4.4'
* 4.4: [ErrorRenderer] FlattenException cannot be final Fixing issue where worker-only middleware were run in all contexts [Messenger] Removing "sync" transport and replacing it with much nicer config trick Use port 465 for SES SMTP transport [DI] made the `%env(base64:...)%` processor able to decode base64url [VarDumper] improve displaying cut closures Set ReturnType of LockFactory to LockInterface [EventDispatcher] handle lazy-callable invokable
2 parents 509be0c + 77262e7 commit f03ce43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LockFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(PersistingStoreInterface $store)
4141
* @param float|null $ttl Maximum expected lock duration in seconds
4242
* @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed
4343
*/
44-
public function createLock(string $resource, ?float $ttl = 300.0, bool $autoRelease = true): Lock
44+
public function createLock(string $resource, ?float $ttl = 300.0, bool $autoRelease = true): LockInterface
4545
{
4646
$lock = new Lock(new Key($resource), $this->store, $ttl, $autoRelease);
4747
$lock->setLogger($this->logger);

0 commit comments

Comments
 (0)