From f8a82eae020900e5083e0dc79da541ad9d660eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Rodrigo=20Cal=C3=B3gero?= Date: Wed, 16 Dec 2020 09:34:34 +1100 Subject: [PATCH] Add propertyUpdated on fromStringArray method https://github.com/calcinai/xero-php/issues/786 --- src/XeroPHP/Remote/Model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XeroPHP/Remote/Model.php b/src/XeroPHP/Remote/Model.php index 044bb6e0..ad236b5b 100644 --- a/src/XeroPHP/Remote/Model.php +++ b/src/XeroPHP/Remote/Model.php @@ -233,6 +233,7 @@ public function fromStringArray($input_array, $replace_data = false) if ($cast instanceof self) { $cast->addAssociatedObject($property, $this); } + $this->propertyUpdated($property, $cast); $this->_data[$property] = $cast; } }