@@ -53,7 +53,7 @@ |
||
53 | 53 | * Read PFX and return this class |
54 | 54 | * @param string $content |
55 | 55 | * @param string $password |
56 | - * @return \static |
|
56 | + * @return Certificate |
|
57 | 57 | * @throws CertificateException |
58 | 58 | */ |
59 | 59 | public static function readPfx($content, $password) |
@@ -55,7 +55,7 @@ |
||
55 | 55 | /** |
56 | 56 | * Load xml from path |
57 | 57 | * @param string $filename |
58 | - * @return bool |
|
58 | + * @return false|null |
|
59 | 59 | */ |
60 | 60 | public function loadXMLFile($filename) |
61 | 61 | { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Add exceptions to the collection |
35 | - * @param ExceptionCollection|\Exception $e Exception to add |
|
36 | 35 | * @return ExceptionCollection; |
37 | 36 | */ |
38 | 37 | public function add(\Exception $exception) |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * Set security protocol |
277 | 277 | * @param int $protocol |
278 | - * @return type Description |
|
278 | + * @return integer Description |
|
279 | 279 | */ |
280 | 280 | public function protocol($protocol = self::SSL_DEFAULT) |
281 | 281 | { |
@@ -327,6 +327,7 @@ discard block |
||
327 | 327 | * @param string $operation |
328 | 328 | * @param array $namespaces |
329 | 329 | * @param \SOAPHeader $header |
330 | + * @param integer $soapver |
|
330 | 331 | * @return string |
331 | 332 | */ |
332 | 333 | protected function makeEnvelopeSoap( |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * Make Signature tag |
39 | 39 | * @param string $content |
40 | 40 | * @param string $tagname |
41 | - * @param string $marker for URI |
|
41 | + * @param string $mark for URI |
|
42 | 42 | * @param string $algorithm |
43 | 43 | * @param array $canonical parameters to format node for signature |
44 | 44 | * @param string $rootname name of tag to insert signature block |
@@ -104,7 +104,6 @@ discard block |
||
104 | 104 | |
105 | 105 | /** |
106 | 106 | * Verify if xml signature is valid |
107 | - * @param string $content xml content |
|
108 | 107 | * @param string $tagname tag for sign |
109 | 108 | * @return boolean |
110 | 109 | */ |
@@ -241,8 +240,6 @@ discard block |
||
241 | 240 | /** |
242 | 241 | * digestCheck |
243 | 242 | * Verify digest value |
244 | - * @param string $content |
|
245 | - * @param string $tagid |
|
246 | 243 | * @return boolean |
247 | 244 | * @throws SignerException |
248 | 245 | */ |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Load class with certificate content |
65 | 65 | * @param string $content |
66 | - * @return \static |
|
66 | + * @return PublicKey |
|
67 | 67 | */ |
68 | 68 | public static function createFromContent($content) |
69 | 69 | { |