This commit is contained in:
yansongda 2021-07-04 00:13:41 +08:00
parent 723256cc7d
commit 542d119533

View File

@ -41,7 +41,7 @@ class Rocket implements JsonSerializableInterface, SerializableInterface, ArrayA
private $direction = null;
/**
* @var \Yansongda\Supports\Collection|\Psr\Http\Message\MessageInterface|null
* @var \Yansongda\Supports\Collection|\Psr\Http\Message\MessageInterface|array|null
*/
private $destination = null;
@ -110,7 +110,7 @@ class Rocket implements JsonSerializableInterface, SerializableInterface, ArrayA
}
/**
* @return \Psr\Http\Message\MessageInterface|\Yansongda\Supports\Collection|null
* @return \Psr\Http\Message\MessageInterface|\Yansongda\Supports\Collection|array|null
*/
public function getDestination()
{
@ -118,7 +118,7 @@ class Rocket implements JsonSerializableInterface, SerializableInterface, ArrayA
}
/**
* @param \Psr\Http\Message\MessageInterface|\Yansongda\Supports\Collection|null $destination
* @param \Psr\Http\Message\MessageInterface|\Yansongda\Supports\Collection|array|null $destination
*/
public function setDestination($destination): Rocket
{