Completed
Push — master ( d920b5...8cb679 )
by Roberto
04:57 queued 02:28
created
src/Certificate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Certificate/CertificationChain.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     
41 41
     /**
42 42
      * Add new certificate to certification chain
43
-     * @param string $contente Certificate in DER, CER or PEM format
43
+     * @param string $content Certificate in DER, CER or PEM format
44 44
      * @return array
45 45
      */
46 46
     public function add($content)
Please login to merge, or discard this patch.
src/Certificate/PublicKey.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * @param string $data
109 109
      * @param string $signature
110 110
      * @param int $algorithm [optional] For more information see the list of Signature Algorithms.
111
-     * @return int Returns true if the signature is correct, false if it is incorrect
111
+     * @return boolean Returns true if the signature is correct, false if it is incorrect
112 112
      * @throws CertificateException An error has occurred when verify signature
113 113
      */
114 114
     public function verify($data, $signature, $algorithm = OPENSSL_ALGO_SHA1)
Please login to merge, or discard this patch.
src/DOMImproved.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Exception/ExceptionCollection.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Signer.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * Make Signature tag
38 38
      * @param string $content
39 39
      * @param string $tagname
40
-     * @param string $marker for URI
40
+     * @param string $mark for URI
41 41
      * @param string $algorithm
42 42
      * @param array $canonical parameters to format node for signature
43 43
      * @param string $rootname name of tag to insert signature block
@@ -102,7 +102,6 @@  discard block
 block discarded – undo
102 102
     
103 103
     /**
104 104
      * Verify if xml signature is valid
105
-     * @param string $content xml content
106 105
      * @param string $tagname tag for sign
107 106
      * @return boolean
108 107
      */
@@ -237,8 +236,6 @@  discard block
 block discarded – undo
237 236
     /**
238 237
      * digestCheck
239 238
      * Verify digest value
240
-     * @param string $content
241
-     * @param string $tagid
242 239
      * @return boolean
243 240
      * @throws \NFePHP\Common\Exception\SignerException
244 241
      */
Please login to merge, or discard this patch.
src/Certificate/Asn1.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * type "sequence", as the first element of the structure
40 40
      * @param string $publickeyUnformated
41 41
      * @param string $oidNumber OID formated number
42
-     * @return array
42
+     * @return string
43 43
      */
44 44
     public static function getOIDdata($oidNumber, $publickeyUnformated)
45 45
     {
@@ -88,8 +88,6 @@  discard block
 block discarded – undo
88 88
     
89 89
     /**
90 90
      * Get length of data field of a sequency from certifcate
91
-     * @param integer $len
92
-     * @param integer $bytes
93 91
      * @param string $data
94 92
      * @return integer
95 93
      */
@@ -142,7 +140,7 @@  discard block
 block discarded – undo
142 140
      * @param array $abIn
143 141
      * @param integer $qIn
144 142
      * @param boolean $flag
145
-     * @return integer
143
+     * @return integer[]
146 144
      */
147 145
     protected static function xBase128($abIn, $qIn, $flag)
148 146
     {
Please login to merge, or discard this patch.
src/Soap/SoapBase.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Set security protocol
199 199
      * @param int $protocol
200
-     * @return type Description
200
+     * @return integer Description
201 201
      */
202 202
     public function protocol($protocol = self::SSL_DEFAULT)
203 203
     {
@@ -248,6 +248,7 @@  discard block
 block discarded – undo
248 248
      * @param string $operation
249 249
      * @param array $namespaces
250 250
      * @param \SOAPHeader $header
251
+     * @param integer $soapver
251 252
      * @return string
252 253
      */
253 254
     protected function makeEnvelopeSoap(
@@ -316,6 +317,7 @@  discard block
 block discarded – undo
316 317
     
317 318
     /**
318 319
      * Delete all files in folder
320
+     * @param string $folder
319 321
      */
320 322
     public function removeTemporarilyFiles($folder)
321 323
     {
Please login to merge, or discard this patch.