From 8952d9953e5c207a989d70b06da13e40247b5fa5 Mon Sep 17 00:00:00 2001 From: Aldarien Date: Mon, 2 Mar 2020 13:45:57 -0300 Subject: [PATCH] FIX: toArray --- src/old/Venta/Cierre.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/old/Venta/Cierre.php b/src/old/Venta/Cierre.php index 8ab7377..2e02c5a 100644 --- a/src/old/Venta/Cierre.php +++ b/src/old/Venta/Cierre.php @@ -361,7 +361,7 @@ class Cierre extends Model { $dif = $today->diffInDays($this->fecha()); return $dif; } - public function toArray() { + public function toArray(): array { $arr = $this->asArray(); $arr['proyecto'] = $this->proyecto()->asArray(); if ($this->propietario()) {