lib/GitHub/Receiver/Activity/Starring.php
public function checkYouAreStarringRepository(): bool
    {
        $this->getApi()->request($this->getApi()
                                      ->sprintf('/user/starred/:owner/:repo', $this->getActivity()->getOwner(),
                                          $this->getActivity()->getRepo()));

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function checkYouAreStarringRepository(): bool
    {
        $this->getApi()->request($this->getApi()
                                      ->sprintf('/user/starred/:owner/:repo', $this->getActivity()->getOwner(),
                                          $this->getActivity()->getRepo()));

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function checkYouAreStarringRepository ( ) : bool { $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/user/starred/:owner/:repo' , $ this -> getActivity ( ) -> getOwner ( ) , $ this -> getActivity ( ) -> getRepo ( ) ) ) ; if ( $ this -> getApi ( ) -> getHeaders ( ) [ 'Status' ] == '204 No Content' ) { return true ; } return false ; }
Check if you are starring a repository

@link https://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository
@return bool
Check if you are starring a repository