@@ -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 | { |
@@ -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 RuntimeException; |
|
7 | -use NFePHP\Esfinge\Response; |
|
8 | 6 | use NFePHP\Esfinge\Base; |
7 | +use RuntimeException; |
|
9 | 8 | |
10 | 9 | class Tools extends Base |
11 | 10 | { |
@@ -2,8 +2,8 @@ |
||
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 | { |
@@ -58,6 +58,10 @@ discard block |
||
58 | 58 | private $msgHeader = ''; |
59 | 59 | private $msgBody = ''; |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $pathlog |
|
63 | + * @param integer $timeout |
|
64 | + */ |
|
61 | 65 | public function __construct($pathlog, $timeout, $aproxy, $debug = false) |
62 | 66 | { |
63 | 67 | $this->pathlog = $pathlog; |
@@ -77,7 +81,7 @@ discard block |
||
77 | 81 | * @param string $port numero da porta usada pelo proxy |
78 | 82 | * @param string $user nome do usuário do proxy |
79 | 83 | * @param string $pass senha de acesso ao proxy |
80 | - * @return boolean |
|
84 | + * @return boolean|null |
|
81 | 85 | */ |
82 | 86 | public function setProxy($ipNumber, $port, $user = '', $pass = '') |
83 | 87 | { |
@@ -103,7 +107,7 @@ discard block |
||
103 | 107 | |
104 | 108 | /** |
105 | 109 | * Envia mensagem ao webservice |
106 | - * @param string $urlsevice |
|
110 | + * @param string $urlservice |
|
107 | 111 | * @param string $namespace |
108 | 112 | * @param string $header |
109 | 113 | * @param string $body |
@@ -183,7 +187,7 @@ discard block |
||
183 | 187 | * Envio via cURL |
184 | 188 | * @param string $url |
185 | 189 | * @param string $data |
186 | - * @param array $parametros |
|
190 | + * @param string[] $parametros |
|
187 | 191 | * @return string |
188 | 192 | */ |
189 | 193 | protected function zCommCurl($url, $data = '', $parametros = array(), $mark = 'dd') |