Skip to content

Commit

Permalink
fix: typo Signer and Document (#67)
Browse files Browse the repository at this point in the history
* fix: typo Signer and Document

* up: mark Signed_timestamp as deprecated

Co-authored-by: Julien SCHERMANN <[email protected]>
  • Loading branch information
Snowbaha and julien-proxi authored Jun 10, 2022
1 parent 875c257 commit 328d556
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/Eversign/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public function getMeta() {
}

public function getFlexibleSigning() {
return $this->getFlexibleSigning;
return $this->flexibleSigning;
}

public function appendMeta($key, $value) {
Expand Down
10 changes: 10 additions & 0 deletions sdk/Eversign/Signer.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ public function getSigned() {
return !!$this->signed;
}

public function getSignedTimestamp() {
return $this->signed_timestamp;
}

/** @deprecated use getSignedTimestamp instead */
public function getSigned_timestamp() {
return $this->signed_timestamp;
}
Expand Down Expand Up @@ -235,6 +240,11 @@ public function setSigned($signed) {
$this->signed = !!$signed;
}

public function setSignedTimestamp($signed_timestamp) {
$this->signed_timestamp = $signed_timestamp;
}

/** @deprecated use setSignedTimestamp instead */
public function setSigned_timestamp($signed_timestamp) {
$this->signed_timestamp = $signed_timestamp;
}
Expand Down

0 comments on commit 328d556

Please sign in to comment.