Skip to content

Commit 4f083e5

Browse files
committed
Data in new order request can be null
1 parent 84878fb commit 4f083e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Response/NewOrder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
final class NewOrder extends BaseResponse implements ResponseInterface
1515
{
1616
/**
17-
* @var Data
17+
* @var Data|null
1818
*
1919
* @Serializer\Type("BitcoinVietnam\BitcoinVnCloud\Response\NewOrder\Data")
2020
*/
2121
private $data;
2222

2323
/**
24-
* @return Data
24+
* @return Data|null
2525
*/
26-
public function getData(): Data
26+
public function getData(): ?Data
2727
{
2828
return $this->data;
2929
}

0 commit comments

Comments
 (0)