Refactor fromArray method for null data handling
This commit is contained in:
parent
17318e5724
commit
14c1aaaa44
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ class ExternalReplyInfo implements ObjectTypeInterface
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
* @noinspection DuplicatedCode
|
* @noinspection DuplicatedCode
|
||||||
*/
|
*/
|
||||||
public static function fromArray(array $data): ObjectTypeInterface
|
public static function fromArray(?array $data): ?ExternalReplyInfo
|
||||||
{
|
{
|
||||||
$object = new self();
|
$object = new self();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue