bug #33035 [Lock] Fix return typehint (jderusse)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Lock] Fix return typehint

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | NA
| License       | MIT
| Doc PR        | NA

Return typehint added in https://github.com/symfony/symfony/pull/31996

ping @dFayet

Commits
-------

e28ffe8fdf Fix return typehint in Lock
This commit is contained in:
Nicolas Grekas 2019-08-08 09:52:51 +02:00
commit 83dc83502a

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