From 215d06d42f0dbe118ec04e3f3df9749f2b1c8916 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Tue, 8 Nov 2022 20:44:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B4=D0=BB=D1=8F=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BE=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CPSignedData.php | 6 +++--- src/CPSigners.php | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/CPSignedData.php b/src/CPSignedData.php index 9fbce19..8523ebd 100644 --- a/src/CPSignedData.php +++ b/src/CPSignedData.php @@ -96,7 +96,7 @@ class CPSignedData * * @return string|void */ - public function SignCades(\CPSigner $Signer, $CadesType = CADES_DEFAULT, bool $bDetached = false, $EncodingType = ENCODE_BASE64) + public function SignCades(\CPSigner $Signer, $CadesType, bool $bDetached, $EncodingType) { } @@ -180,7 +180,7 @@ class CPSignedData * * @return string|void */ - public function SignHash(\CPHashedData $Hash, \CPSigner $Signer, $CadesType = CADES_DEFAULT, $EncodingType = ENCODE_BASE64) + public function SignHash(\CPHashedData $Hash, \CPSigner $Signer, $CadesType, $EncodingType) { } @@ -488,7 +488,7 @@ class CPSignedData * * @return void */ - public function VerifyCades(string $SignedMessage, $CadesType = CADES_DEFAULT, bool $bDetached = false) + public function VerifyCades(string $SignedMessage, $CadesType, bool $bDetached) { } diff --git a/src/CPSigners.php b/src/CPSigners.php index 14d6ee6..39b015e 100644 --- a/src/CPSigners.php +++ b/src/CPSigners.php @@ -2,9 +2,21 @@ class CPSigners { - - public function get_Count(){} - - public function get_Item(){} - + + /** + * @return int + */ + public function get_Count() + { + } + + /** + * @param int $index + * + * @return CPSigner + */ + public function get_Item($index) + { + } + }