Passed
Pull Request — master (#13)
by
unknown
15:25
created
src/Common/Tools.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -328,6 +328,11 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Factories/Tag.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Common/Make.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)));
Please login to merge, or discard this patch.