Completed
Pull Request — master (#9)
by Roberto
04:28
created
src/Base.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -227,6 +227,7 @@
 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)
Please login to merge, or discard this patch.
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.
src/Soap/CurlSoap.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
      */
54 54
     private $proxyPASS = '';
55 55
     
56
+    /**
57
+     * @param integer $timeout
58
+     */
56 59
     public function __construct($timeout, $aproxy)
57 60
     {
58 61
         $this->soapTimeout = $timeout;
@@ -70,7 +73,7 @@  discard block
 block discarded – undo
70 73
      * @param string $port numero da porta usada pelo proxy
71 74
      * @param string $user nome do usuário do proxy
72 75
      * @param string $pass senha de acesso ao proxy
73
-     * @return boolean
76
+     * @return boolean|null
74 77
      */
75 78
     public function setProxy($ipNumber, $port, $user = '', $pass = '')
76 79
     {
@@ -96,12 +99,12 @@  discard block
 block discarded – undo
96 99
     
97 100
     /**
98 101
      * Envia mensagem ao webservice
99
-     * @param string $urlsevice
102
+     * @param string $urlservice
100 103
      * @param string $namespace
101 104
      * @param string $header
102 105
      * @param string $body
103 106
      * @param string $method
104
-     * @return boolean|string
107
+     * @return string
105 108
      */
106 109
     public function send($urlservice, $namespace, $header, $body, $method)
107 110
     {
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.