Skip to content

Commit 328d556

Browse files
fix: typo Signer and Document (#67)
* fix: typo Signer and Document * up: mark Signed_timestamp as deprecated Co-authored-by: Julien SCHERMANN <[email protected]>
1 parent 875c257 commit 328d556

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

sdk/Eversign/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public function getMeta() {
515515
}
516516

517517
public function getFlexibleSigning() {
518-
return $this->getFlexibleSigning;
518+
return $this->flexibleSigning;
519519
}
520520

521521
public function appendMeta($key, $value) {

sdk/Eversign/Signer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ public function getSigned() {
179179
return !!$this->signed;
180180
}
181181

182+
public function getSignedTimestamp() {
183+
return $this->signed_timestamp;
184+
}
185+
186+
/** @deprecated use getSignedTimestamp instead */
182187
public function getSigned_timestamp() {
183188
return $this->signed_timestamp;
184189
}
@@ -235,6 +240,11 @@ public function setSigned($signed) {
235240
$this->signed = !!$signed;
236241
}
237242

243+
public function setSignedTimestamp($signed_timestamp) {
244+
$this->signed_timestamp = $signed_timestamp;
245+
}
246+
247+
/** @deprecated use setSignedTimestamp instead */
238248
public function setSigned_timestamp($signed_timestamp) {
239249
$this->signed_timestamp = $signed_timestamp;
240250
}

0 commit comments

Comments
 (0)