NetworkBinaryStream: Use nullable typehint for putVector3Nullable() instead of default value

the parameter is not optional
This commit is contained in:
Dylan K. Taylor 2018-01-20 11:01:16 +00:00
parent 95d42b9907
commit 2579438b84

View File

@ -382,7 +382,7 @@ class NetworkBinaryStream extends BinaryStream{
*
* @param Vector3|null $vector
*/
public function putVector3Nullable(Vector3 $vector = null){
public function putVector3Nullable(?Vector3 $vector){
if($vector){
$this->putVector3($vector);
}else{