/**
* Set rate
*
- * @param string $rate
+ * @param int $rate
*
* @return Snippet
*/
- public function setRate(?string $rate): Snippet {
+ public function setRate(?int $rate): Snippet {
$this->rate = $rate;
return $this;
/**
* Get rate
*
- * @return string
+ * @return int
*/
- public function getRate(): ?string {
+ public function getRate(): ?int {
return $this->rate;
}
*
* @return User
*/
- public function setHat(bool $hat): Snippet {
+ public function setHat(?bool $hat): Snippet {
$this->hat = $hat;
return $this;
*
* @return bool
*/
- public function getHat(): bool {
+ public function getHat(): ?bool {
return $this->hat;
}
/**