Completed
Push — master ( e55be9...5d6262 )
by Roberto
15:27 queued 12:57
created
src/Base.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use InvalidArgumentException;
6 6
 use NFePHP\Esfinge\Soap\CurlSoap;
7
-use NFePHP\Esfinge\Files\FileFolders;
8 7
 
9 8
 class Base
10 9
 {
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,6 +227,7 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * Monta a primeira parte de todas mensagens
229 229
      * @param string $namespace
230
+     * @param string $tipo
230 231
      * @return string
231 232
      */
232 233
     protected function buildMsgH($tipo, $namespace)
@@ -284,9 +285,10 @@  discard block
 block discarded – undo
284 285
     /**
285 286
      * Envia a mensagem para o webservice
286 287
      *
287
-     * @param string $urlService
288
-     * @param strting $body
289 288
      * @param string $method
289
+     * @param string $uri
290
+     * @param string $namespace
291
+     * @param string $met
290 292
      * @return string
291 293
      */
292 294
     protected function envia($uri, $namespace, $data, $method, $met)
Please login to merge, or discard this patch.
src/Tools.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
     /**
52 52
      * Define o período de competência das informações
53 53
      * formado AAAABB sendo BB o bimestre de 01 até 06
54
-     * @param string $valor
55 54
      */
56 55
     public function setCompetencia($aaaabb)
57 56
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace NFePHP\Esfinge;
4 4
 
5 5
 use InvalidArgumentException;
6
-use RuntimeException;
7
-use NFePHP\Esfinge\Response;
8 6
 use NFePHP\Esfinge\Base;
7
+use NFePHP\Esfinge\Response;
8
+use RuntimeException;
9 9
 
10 10
 class Tools extends Base
11 11
 {
Please login to merge, or discard this patch.
src/Soap/CurlSoap.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace NFePHP\Esfinge\Soap;
4 4
 
5
-use RuntimeException;
6 5
 use NFePHP\Esfinge\Files\FilesFolders;
6
+use RuntimeException;
7 7
 
8 8
 class CurlSoap
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,6 +55,10 @@  discard block
 block discarded – undo
55 55
     private $proxyPASS = '';
56 56
     private $pathlog;
57 57
     
58
+    /**
59
+     * @param string $pathlog
60
+     * @param integer $timeout
61
+     */
58 62
     public function __construct($pathlog, $timeout, $aproxy)
59 63
     {
60 64
         $this->pathlog = $pathlog;
@@ -73,7 +77,7 @@  discard block
 block discarded – undo
73 77
      * @param string $port numero da porta usada pelo proxy
74 78
      * @param string $user nome do usuário do proxy
75 79
      * @param string $pass senha de acesso ao proxy
76
-     * @return boolean
80
+     * @return boolean|null
77 81
      */
78 82
     public function setProxy($ipNumber, $port, $user = '', $pass = '')
79 83
     {
@@ -99,12 +103,12 @@  discard block
 block discarded – undo
99 103
     
100 104
     /**
101 105
      * Envia mensagem ao webservice
102
-     * @param string $urlsevice
106
+     * @param string $urlservice
103 107
      * @param string $namespace
104 108
      * @param string $header
105 109
      * @param string $body
106 110
      * @param string $method
107
-     * @return boolean|string
111
+     * @return string
108 112
      */
109 113
     public function send($urlservice, $namespace, $header, $body, $method)
110 114
     {
@@ -182,7 +186,7 @@  discard block
 block discarded – undo
182 186
      * Envio via cURL
183 187
      * @param string $url
184 188
      * @param string $data
185
-     * @param array $parametros
189
+     * @param string[] $parametros
186 190
      * @return string
187 191
      */
188 192
     protected function zCommCurl($url, $data = '', $parametros = array())
Please login to merge, or discard this patch.