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) + { + } + }