Tree: fixed formatting error

This commit is contained in:
Dylan K. Taylor 2021-08-27 20:14:31 +01:00
parent 8f89c04c51
commit 4778c1483a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -52,7 +52,7 @@ abstract class Tree{
/**
* @param TreeType|null $type default oak
*/
public static function get(Random $random, ?TreeType $type = null) : ?self {
public static function get(Random $random, ?TreeType $type = null) : ?self{
$type = $type ?? TreeType::OAK();
if($type->equals(TreeType::SPRUCE())){
return new SpruceTree();