Fix return typehint in Lock

This commit is contained in:
Jérémy Derussé 2019-08-08 09:21:46 +02:00
parent d65189fb81
commit e28ffe8fdf
No known key found for this signature in database
GPG Key ID: 2083FA5758C473D2

View File

@ -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) {