@@ -328,6 +328,11 @@ |
||
328 | 328 | return $signed; |
329 | 329 | } |
330 | 330 | |
331 | + /** |
|
332 | + * @param string $signed |
|
333 | + * |
|
334 | + * @return string |
|
335 | + */ |
|
331 | 336 | protected function addQRCode($signed) |
332 | 337 | { |
333 | 338 | $dom = new Dom('1.0', 'UTF-8'); |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Constructor |
39 | - * @param NFePHP\Common\DOMImproved $dom |
|
39 | + * @param Dom $dom |
|
40 | 40 | */ |
41 | 41 | public function __construct(\NFePHP\Common\DOMImproved $dom = null) |
42 | 42 | { |
@@ -101,6 +101,9 @@ discard block |
||
101 | 101 | return $node; |
102 | 102 | } |
103 | 103 | |
104 | + /** |
|
105 | + * @param stdClass $std |
|
106 | + */ |
|
104 | 107 | protected function checkIfContentsExists($std) |
105 | 108 | { |
106 | 109 | $response = false; |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * Return document key |
79 | - * @return type |
|
79 | + * @return string |
|
80 | 80 | */ |
81 | 81 | public function getChave() |
82 | 82 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * Returns XML |
88 | - * @return type |
|
88 | + * @return string |
|
89 | 89 | */ |
90 | 90 | public function getXML() |
91 | 91 | { |
@@ -213,6 +213,9 @@ discard block |
||
213 | 213 | } |
214 | 214 | } |
215 | 215 | |
216 | + /** |
|
217 | + * @param string $chave |
|
218 | + */ |
|
216 | 219 | protected function hashCSRT($csrt, $chave) |
217 | 220 | { |
218 | 221 | return strtoupper(base64_encode(sha1($csrt . $chave, true))); |