From 65bf22ff4dba6460e0b4f73ffeff70f3226328d8 Mon Sep 17 00:00:00 2001 From: Ricardo Paes Date: Tue, 29 Oct 2024 19:12:25 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Corrigindo=20erros=20phpcs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rest.php | 9 ++++++++- src/RestInterface.php | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Rest.php b/src/Rest.php index 82d7251..11fef34 100755 --- a/src/Rest.php +++ b/src/Rest.php @@ -28,7 +28,6 @@ */ class Rest implements RestInterface { - /** * Parametros do proxy * @@ -36,10 +35,18 @@ class Rest implements RestInterface */ protected $proxy = []; + /** + * Timeout para requisição + * + * @var int + */ + protected $timeout; + /** * Constructor * * @param array $proxy Parameter for proxy ['IP','PORT','USER','PASS'] + * @param int $timeout Timeout for request */ public function __construct($proxy = []) { diff --git a/src/RestInterface.php b/src/RestInterface.php index 3a2632a..f5720b5 100755 --- a/src/RestInterface.php +++ b/src/RestInterface.php @@ -4,7 +4,6 @@ interface RestInterface { - /** * Pull data form IBPT Restful service to obtain taxes values *