public function createReply($user, $repo, $pullId, $body, $inReplyTo)
	{
		// Build the request path.
		$path = '/repos/' . $user . '/' . $repo . '/pulls/' . (int) $pullId . '/comments';

		// Build the request data.
		$data = json_encode(
			array(
				'body' => $body,
				'in_reply_to' => (int) $inReplyTo
			)
		);

		// Send the request.
		return $this->processResponse(
			$this->client->post($this->fetchUrl($path), $data),
			201
		);
	}
public function createReply($user, $repo, $pullId, $body, $inReplyTo)
	{
		// Build the request path.
		$path = '/repos/' . $user . '/' . $repo . '/pulls/' . (int) $pullId . '/comments';

		// Build the request data.
		$data = json_encode(
			array(
				'body' => $body,
				'in_reply_to' => (int) $inReplyTo
			)
		);

		// Send the request.
		return $this->processResponse(
			$this->client->post($this->fetchUrl($path), $data),
			201
		);
	}
public function createReply ( $ user , $ repo , $ pullId , $ body , $ inReplyTo ) { // Build the request path. $ path = '/repos/' . $ user . '/' . $ repo . '/pulls/' . ( int ) $ pullId . '/comments' ; // Build the request data. $ data = json_encode ( array ( 'body' => $ body , 'in_reply_to' => ( int ) $ inReplyTo ) ) ; // Send the request. return $ this -> processResponse ( $ this -> client -> post ( $ this -> fetchUrl ( $ path ) , $ data ) , 201 ) ; }
Method to create a comment in reply to another comment.

@param   string   $user       The name of the owner of the GitHub repository.
@param   string   $repo       The name of the GitHub repository.
@param   integer  $pullId     The pull request number.
@param   string   $body       The comment body text.
@param   integer  $inReplyTo  The id of the comment to reply to.

@since   1.0

@return  object
Method to create a comment in reply to another comment .