From 23be2ab48cfc958e9545b8aa18c2e0997ceb2c5d Mon Sep 17 00:00:00 2001 From: inmanturbo Date: Fri, 9 Aug 2024 17:54:34 +0000 Subject: [PATCH 1/2] Fix styling --- src/Ecow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ecow.php b/src/Ecow.php index 235d01a..8037ac5 100755 --- a/src/Ecow.php +++ b/src/Ecow.php @@ -120,10 +120,10 @@ public function getModelGuid(mixed $model): string public function retrieveModel(mixed $model): mixed { - if(! $model) { + if (! $model) { return null; } - + $model = clone $model; $attributes = ($snapshot = $this->snapshots($model) From f53b819065d4580d474d0314238743842441a598 Mon Sep 17 00:00:00 2001 From: inmanturbo Date: Fri, 9 Aug 2024 17:55:44 +0000 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8576aeb..47458a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `ecow` will be documented in this file. +## v1.0.4 - 2024-08-09 + +### What's Changed + +* Return null if no model by @inmanturbo in https://github.com/inmanturbo/ecow/pull/4 + +**Full Changelog**: https://github.com/inmanturbo/ecow/compare/v1.0.3...v1.0.4 + ## v1.0.3 - 2024-08-09 ### What's Changed