private function createPointToUser($number = null)
    {
        return Point::create([
            'user_id' => $this->id,
            'rule_id' => $this->ruleId,
            'number' => $number
        ]);
    }
private function createPointToUser($number = null)
    {
        return Point::create([
            'user_id' => $this->id,
            'rule_id' => $this->ruleId,
            'number' => $number
        ]);
    }
private function createPointToUser ( $ number = null ) { return Point :: create ( [ 'user_id' => $ this -> id , 'rule_id' => $ this -> ruleId , 'number' => $ number ] ) ; }
create point to user

@param null $number
create point to user