EntityMetadataCollection: fixed wrong parameter doc type on set()

This commit is contained in:
Dylan K. Taylor 2019-10-24 13:27:38 +01:00
parent ec13cd695d
commit 15762b03f8

View File

@ -121,9 +121,9 @@ class EntityMetadataCollection{
} }
/** /**
* @param int $key * @param int $key
* @param mixed $value * @param MetadataProperty $value
* @param bool $force * @param bool $force
*/ */
public function set(int $key, MetadataProperty $value, bool $force = false) : void{ public function set(int $key, MetadataProperty $value, bool $force = false) : void{
if(!$force and isset($this->properties[$key]) and !($this->properties[$key] instanceof $value)){ if(!$force and isset($this->properties[$key]) and !($this->properties[$key] instanceof $value)){