lib/GitHub/Receiver/Activity/Notifications.php
public function setThreadSubscription(int $id, bool $subscribed = false, bool $ignored = false): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/notifications/threads/:id/subscription?:args', $id,
            http_build_query(['subscribed' => $subscribed, 'ignored' => $ignored])), Request::METHOD_PUT);
    }
public function setThreadSubscription(int $id, bool $subscribed = false, bool $ignored = false): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/notifications/threads/:id/subscription?:args', $id,
            http_build_query(['subscribed' => $subscribed, 'ignored' => $ignored])), Request::METHOD_PUT);
    }
public function setThreadSubscription ( int $ id , bool $ subscribed = false , bool $ ignored = false ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/notifications/threads/:id/subscription?:args' , $ id , http_build_query ( [ 'subscribed' => $ subscribed , 'ignored' => $ ignored ] ) ) , Request :: METHOD_PUT ) ; }
Set a Thread Subscription

@link https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription

@param int  $id
@param bool $subscribed
@param bool $ignored

@return array
Set a Thread Subscription