@@ -227,6 +227,7 @@ |
||
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) |
@@ -4,7 +4,6 @@ |
||
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 | { |
@@ -53,6 +53,9 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -51,7 +51,6 @@ |
||
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 | { |
@@ -3,9 +3,8 @@ |
||
3 | 3 | namespace NFePHP\Esfinge; |
4 | 4 | |
5 | 5 | use InvalidArgumentException; |
6 | -use NFePHP\Esfinge\Response; |
|
7 | 6 | use NFePHP\Esfinge\Base; |
8 | -use NFePHP\Esfinge\Soap\CurlSoap; |
|
7 | +use NFePHP\Esfinge\Response; |
|
9 | 8 | |
10 | 9 | class Tools extends Base |
11 | 10 | { |