Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-02-25 20:45:39 +00:00
3 changed files with 4 additions and 22 deletions

View File

@@ -385,10 +385,6 @@ class Item implements \JsonSerializable{
* @return $this
*/
public function setCount(int $count) : Item{
if($count < 0 or $count > 255){
throw new \InvalidArgumentException("Count must be in the range 0-255");
}
$this->count = $count;
return $this;