lib/GitHub/Receiver/Activity/Notifications.php
public function markThreadAsRead(int $id): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/notifications/threads/:id', (string)$id),
            Request::METHOD_PATCH);
    }
public function markThreadAsRead(int $id): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/notifications/threads/:id', (string)$id),
            Request::METHOD_PATCH);
    }
public function markThreadAsRead ( int $ id ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/notifications/threads/:id' , ( string ) $ id ) , Request :: METHOD_PATCH ) ; }
Mark a thread as read

@link https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read

@param int $id

@return array
Mark a thread as read