From bc3d739af937cec6f55a7bec459a54287e747490 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Tue, 3 Jun 2025 16:52:01 -0400 Subject: [PATCH] Cleanup --- app/src/Repository/Venta/MediosPago/Toku/Customer.php | 4 ++-- app/src/Service/Persona.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/Repository/Venta/MediosPago/Toku/Customer.php b/app/src/Repository/Venta/MediosPago/Toku/Customer.php index ed632fb..db7928e 100644 --- a/app/src/Repository/Venta/MediosPago/Toku/Customer.php +++ b/app/src/Repository/Venta/MediosPago/Toku/Customer.php @@ -47,7 +47,7 @@ class Customer extends Ideal\Repository /** * @param string $rut - * @return \Incoviba\Model\Venta\MediosPago\Toku\Customer + * @return Model\Venta\MediosPago\Toku\Customer * @throws Implement\Exception\EmptyResult */ public function fetchByRut(string $rut): Model\Venta\MediosPago\Toku\Customer @@ -68,7 +68,7 @@ class Customer extends Ideal\Repository /** * @param string $toku_id - * @return \Incoviba\Model\Venta\MediosPago\Toku\Customer + * @return Model\Venta\MediosPago\Toku\Customer * @throws Implement\Exception\EmptyResult */ public function fetchByTokuId(string $toku_id): Model\Venta\MediosPago\Toku\Customer diff --git a/app/src/Service/Persona.php b/app/src/Service/Persona.php index 241aae3..bfabeca 100644 --- a/app/src/Service/Persona.php +++ b/app/src/Service/Persona.php @@ -107,7 +107,7 @@ class Persona extends Ideal\Service /** * @param array $ruts * @param bool $load - * @return array + * @return array|null * @throws Create * @throws Read */ @@ -120,7 +120,7 @@ class Persona extends Ideal\Service } $data = []; $datos = []; - foreach ($propietarios as $i => $propietario) { + foreach ($propietarios as $propietario) { $data []= [ 'rut' => $propietario->rut, 'digito' => $propietario->dv,