1
0
mirror of synced 2024-11-21 20:46:03 +03:00

fix types (#9)

This commit is contained in:
Alexey 2019-08-08 11:01:53 +03:00 committed by GitHub
parent 5791ca5107
commit ed84369c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ class OperationResponse
/** /**
* @param string $groupCode * @param string $groupCode
*/ */
public function setGroupCode(string $groupCode) public function setGroupCode(?string $groupCode)
{ {
$this->groupCode = $groupCode; $this->groupCode = $groupCode;
} }
@ -242,7 +242,7 @@ class OperationResponse
/** /**
* @param string $daemonCode * @param string $daemonCode
*/ */
public function setDaemonCode(string $daemonCode) public function setDaemonCode(?string $daemonCode)
{ {
$this->daemonCode = $daemonCode; $this->daemonCode = $daemonCode;
} }
@ -258,7 +258,7 @@ class OperationResponse
/** /**
* @param string $deviceCode * @param string $deviceCode
*/ */
public function setDeviceCode(string $deviceCode) public function setDeviceCode(?string $deviceCode)
{ {
$this->deviceCode = $deviceCode; $this->deviceCode = $deviceCode;
} }