From 261e69c662db151570f052f2e7b76b11efe35a55 Mon Sep 17 00:00:00 2001 From: Tiago <11445757+tiagocaus@users.noreply.github.com> Date: Mon, 3 Jan 2022 11:00:56 -0300 Subject: [PATCH] Update Cliente.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Email não é obrigatório. --- src/Cliente.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cliente.php b/src/Cliente.php index abfbae1..ce00344 100755 --- a/src/Cliente.php +++ b/src/Cliente.php @@ -183,6 +183,6 @@ public function setCliente($cliente) */ public function cliente_valid($cliente) { - return ! ( (empty($cliente['name']) OR empty($cliente['cpfCnpj']) OR empty($cliente['email'])) ? 1 : '' ); + return ! ( (empty($cliente['name']) OR empty($cliente['cpfCnpj'])) ? 1 : '' ); } -} \ No newline at end of file +}