Skip to content

Commit 5fd3612

Browse files
Add missing return types to tests/internal/final methods
1 parent 23bcc2d commit 5fd3612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(Key $key, PersistingStoreInterface $store, float $tt
5252
/**
5353
* @return array
5454
*/
55-
public function __sleep()
55+
public function __sleep(): array
5656
{
5757
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
5858
}

0 commit comments

Comments
 (0)