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
3030 /**
3131 * {@inheritdoc}
3232 */
33- public function getProperties ($ object , array $ context = [])
33+ public function getProperties ($ object , array $ context = []): ? array
3434 {
3535 $ class = $ this ->objectClassResolver ? ($ this ->objectClassResolver )($ object ) : \get_class ($ object );
3636
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ interface ObjectPropertyListExtractorInterface
2020 * Gets the list of properties available for the given object.
2121 *
2222 * @param object $object
23- * @param array $context
2423 *
2524 * @return string[]|null
2625 */
27- public function getProperties ($ object , array $ context = []);
26+ public function getProperties ($ object , array $ context = []): ? array ;
2827}
You can’t perform that action at this time.
0 commit comments