1: <?php declare( strict_types = 1 );
2:
3: namespace Waves\Model;
4:
5: use Waves\Common\JsonBase;
6:
7: class Votes extends JsonBase
8: {
9: function increase(): int { return $this->json->get( 'increase' )->asInt(); }
10: function decrease(): int { return $this->json->get( 'decrease' )->asInt(); }
11: }
12: