File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function __construct(PropertyListExtractorInterface $propertyListExtracto
30
30
/**
31
31
* {@inheritdoc}
32
32
*/
33
- public function getProperties ($ object , array $ context = [])
33
+ public function getProperties ($ object , array $ context = []): ? array
34
34
{
35
35
$ class = $ this ->objectClassResolver ? ($ this ->objectClassResolver )($ object ) : \get_class ($ object );
36
36
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ interface ObjectPropertyListExtractorInterface
20
20
* Gets the list of properties available for the given object.
21
21
*
22
22
* @param object $object
23
- * @param array $context
24
23
*
25
24
* @return string[]|null
26
25
*/
27
- public function getProperties ($ object , array $ context = []);
26
+ public function getProperties ($ object , array $ context = []): ? array ;
28
27
}
You can’t perform that action at this time.
0 commit comments