public function unpin(int $id): PodiumResponse
    {
        $threadPinner = $this->getPinner($id);

        if ($threadPinner === null) {
            throw new ModelNotFoundException('Thread of given ID can not be found.');
        }

        return $threadPinner->unpin();
    }
public function unpin(int $id): PodiumResponse
    {
        $threadPinner = $this->getPinner($id);

        if ($threadPinner === null) {
            throw new ModelNotFoundException('Thread of given ID can not be found.');
        }

        return $threadPinner->unpin();
    }
public function unpin ( int $ id ) : PodiumResponse { $ threadPinner = $ this -> getPinner ( $ id ) ; if ( $ threadPinner === null ) { throw new ModelNotFoundException ( 'Thread of given ID can not be found.' ) ; } return $ threadPinner -> unpin ( ) ; }
Unpins thread.
@param int $id
@return PodiumResponse
@throws ModelNotFoundException
Unpins thread .