Completed
Push — master ( 3d583b...c523cc )
by Francimar
09:36
created
api/util/XMLSecEnc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * @param bool           $replace Whether the encrypted node should be replaced in the original tree. Default is true.
122 122
      * @throws Exception
123 123
      *
124
-     * @return DOMElement  The <xenc:EncryptedData>-element.
124
+     * @return DOMNode|null  The <xenc:EncryptedData>-element.
125 125
      */
126 126
     public function encryptNode($objKey, $replace = true)
127 127
     {
Please login to merge, or discard this patch.
api/util/XmlseclibsAdapter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
         $this->transforms[] = $transformType;
106 106
     }
107 107
 
108
+    /**
109
+     * @param string $tag
110
+     */
108 111
     public function sign(DOMDocument $data, $tag = null)
109 112
     {
110 113
         if (null === $this->privateKey) {
Please login to merge, or discard this patch.
api/util/XMLSecurityDSig.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
     }
346 346
 
347 347
     /**
348
-     * @param $refNode
348
+     * @param DOMNode $refNode
349 349
      * @param string $data
350 350
      * @return bool
351 351
      */
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
     }
363 363
 
364 364
     /**
365
-     * @param $refNode
365
+     * @param DOMNode $refNode
366 366
      * @param DOMNode $objData
367 367
      * @param bool $includeCommentNodes
368 368
      * @return string
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
     /**
785 785
      * @param XMLSecurityKey $objKey
786 786
      * @param string $data
787
-     * @return mixed|string
787
+     * @return string|null
788 788
      */
789 789
     public function signData($objKey, $data)
790 790
     {
Please login to merge, or discard this patch.
api/util/XMLSecurityKey.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
      * Encrypts the given data (string) using the regarding php-extension, depending on the library assigned to algorithm in the contructor.
492 492
      *
493 493
      * @param string $data
494
-     * @return mixed|string
494
+     * @return string|null
495 495
      */
496 496
     public function encryptData($data)
497 497
     {
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
      * Decrypts the given data (string) using the regarding php-extension, depending on the library assigned to algorithm in the contructor.
508 508
      *
509 509
      * @param string $data
510
-     * @return mixed|string
510
+     * @return string|null
511 511
      */
512 512
     public function decryptData($data)
513 513
     {
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
      * Signs the data (string) using the extension assigned to the type in the constructor.
524 524
      *
525 525
      * @param string $data
526
-     * @return mixed|string
526
+     * @return string|null
527 527
      */
528 528
     public function signData($data)
529 529
     {
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
     }
632 632
 
633 633
     /**
634
-     * @param mixed $parent
634
+     * @param null|\DOMNode $parent
635 635
      */
636 636
     public function serializeKey($parent)
637 637
     {
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto/PIS/Generico.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         $this->setTributacao('99');
43 43
     }
44 44
 
45
+    /**
46
+     * @return string|null
47
+     */
45 48
     public function getValor($normalize = false)
46 49
     {
47 50
         if (!$normalize) {
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto/PIS/Quantidade.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         $this->setTributacao('03');
41 41
     }
42 42
 
43
+    /**
44
+     * @return string|null
45
+     */
43 46
     public function getQuantidade($normalize = false)
44 47
     {
45 48
         if (!$normalize) {
Please login to merge, or discard this patch.