This repository was archived by the owner on Oct 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## HelloSign PHP SDK
2+ [ ![ Build Status] ( https://travis-ci.org/hellosign/hellosign-php-sdk.svg?branch=v3 )] ( https://travis-ci.org/hellosign/hellosign-php-sdk )
23
34This is the official PHP SDK for HelloSign's API. [ View API Documentation and Examples.] ( https://app.hellosign.com/api/documentation )
45
Original file line number Diff line number Diff line change @@ -184,8 +184,15 @@ public function getSignatureRequests()
184184 */
185185 public function __construct ($ response = null , $ options = array ())
186186 {
187- $ this ->signature_requests = $ response ->signature_requests ;
188- $ this ->list_info = $ response ->list_info ;
187+ if (isset ($ response ->signature_requests ))
188+ {
189+ $ this ->signature_requests = $ response ->signature_requests ;
190+ }
191+
192+ if (isset ($ response ->list_info ))
193+ {
194+ $ this ->list_info = $ response ->list_info ;
195+ }
189196
190197 parent ::__construct ($ response , $ options );
191198 }
Original file line number Diff line number Diff line change 4141class Client
4242{
4343
44- const VERSION = '3.5.5 ' ;
44+ const VERSION = '3.5.6 ' ;
4545
4646 const API_URL = "https://api.hellosign.com/v3/ " ;
4747
Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ public function testUpdateTemplateFiles()
187187 {
188188 $ templates = $ this ->client ->getTemplates ();
189189 $ template_id = $ templates [0 ]->getId ();
190-
190+ $ client_id = $ _ENV ['CLIENT_ID ' ];
191+
191192 $ request = new \HelloSign \Template ();
192193 $ request ->enableTestMode ();
193194 $ request ->setClientId ($ client_id );
You can’t perform that action at this time.
0 commit comments