@@ -42,12 +42,6 @@ |
||
| 42 | 42 | * 'url' => 'https://api.isign.io', |
| 43 | 43 | * 'sandboxUrl' => 'https://developers.isign.io', |
| 44 | 44 | * ] |
| 45 | - * @param LoggerInterface|callable|resource|null $logger Logger used to log |
|
| 46 | - * messages. Pass a LoggerInterface to use a PSR-3 logger. Pass a |
|
| 47 | - * callable to log messages to a function that accepts a string of |
|
| 48 | - * data. Pass a resource returned from ``fopen()`` to log to an open |
|
| 49 | - * resource. Pass null or leave empty to write log messages using |
|
| 50 | - * ``echo()``. |
|
| 51 | 45 | * @return self |
| 52 | 46 | */ |
| 53 | 47 | public static function create(array $options = [], $log = false) |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * Validation constraints for fields |
| 78 | - * @return array |
|
| 78 | + * @return Assert\Collection |
|
| 79 | 79 | */ |
| 80 | 80 | public function getValidationConstraints() |
| 81 | 81 | { |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | private $certificate; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param $certificate string base64_encode(certificate) |
|
| 15 | + * @param string $certificate string base64_encode(certificate) |
|
| 16 | 16 | */ |
| 17 | 17 | public function __construct($certificate) |
| 18 | 18 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * Result object for this query result |
| 44 | - * @return MobileResult |
|
| 44 | + * @return ScResult |
|
| 45 | 45 | */ |
| 46 | 46 | public function createResult() |
| 47 | 47 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * Validation constraints for fields |
| 53 | - * @return array |
|
| 53 | + * @return Assert\Collection |
|
| 54 | 54 | */ |
| 55 | 55 | public function getValidationConstraints() |
| 56 | 56 | { |
@@ -15,6 +15,10 @@ discard block |
||
| 15 | 15 | /** @var string User signed value */ |
| 16 | 16 | private $signatureValue; |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param string $token |
|
| 20 | + * @param string $signatureValue |
|
| 21 | + */ |
|
| 18 | 22 | public function __construct($token, $signatureValue) |
| 19 | 23 | { |
| 20 | 24 | $this->token = $token; |
@@ -53,7 +57,7 @@ discard block |
||
| 53 | 57 | |
| 54 | 58 | /** |
| 55 | 59 | * Validation constraints for fields |
| 56 | - * @return array |
|
| 60 | + * @return Assert\Collection |
|
| 57 | 61 | */ |
| 58 | 62 | public function getValidationConstraints() |
| 59 | 63 | { |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | private $signatureValue; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param $token string Session token received from /sc/prepare call |
|
| 20 | - * @param $signatureValue string Signature value |
|
| 19 | + * @param string $token string Session token received from /sc/prepare call |
|
| 20 | + * @param string $signatureValue string Signature value |
|
| 21 | 21 | */ |
| 22 | 22 | public function __construct($token, $signatureValue) |
| 23 | 23 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Result object for this query result |
| 58 | - * @return MobileStatusResult |
|
| 58 | + * @return ScResult |
|
| 59 | 59 | */ |
| 60 | 60 | public function createResult() |
| 61 | 61 | { |
@@ -28,10 +28,10 @@ discard block |
||
| 28 | 28 | private $document; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @param $certificate string base64_encode(certificate) |
|
| 32 | - * @param $type string document type |
|
| 33 | - * @param $timestamp boolean add document timestamp |
|
| 34 | - * @param $language string language LT|EN |
|
| 31 | + * @param null|string $certificate string base64_encode(certificate) |
|
| 32 | + * @param null|string $type string document type |
|
| 33 | + * @param null|false $timestamp boolean add document timestamp |
|
| 34 | + * @param null|string $language string language LT|EN |
|
| 35 | 35 | * @param $document array document to be signed |
| 36 | 36 | */ |
| 37 | 37 | public function __construct($certificate, $type, $timestamp, $language, array $document) |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * Validation constraints for fields |
| 87 | - * @return array |
|
| 87 | + * @return Assert\Collection |
|
| 88 | 88 | */ |
| 89 | 89 | public function getValidationConstraints() |
| 90 | 90 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * Validation constraints for fields |
| 78 | - * @return array |
|
| 78 | + * @return Assert\Collection |
|
| 79 | 79 | */ |
| 80 | 80 | public function getValidationConstraints() |
| 81 | 81 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * Validation constraints for fields |
| 78 | - * @return array |
|
| 78 | + * @return Assert\Collection |
|
| 79 | 79 | */ |
| 80 | 80 | public function getValidationConstraints() |
| 81 | 81 | { |