Fix return typehint in Lock
This commit is contained in:
parent
d65189fb81
commit
e28ffe8fdf
@ -67,7 +67,7 @@ final class Lock implements LockInterface, LoggerAwareInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function acquire($blocking = false): ?bool
|
||||
public function acquire($blocking = false): bool
|
||||
{
|
||||
try {
|
||||
if ($blocking) {
|
||||
|
Reference in New Issue
Block a user