From fc059a1d766575f2d2b6703cbc667a7383945c4b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 8 Jan 2024 14:49:55 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/CastsEnums.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CastsEnums.php b/src/CastsEnums.php index c00ab64..0f96e01 100644 --- a/src/CastsEnums.php +++ b/src/CastsEnums.php @@ -62,7 +62,7 @@ public function setAttribute($key, $value) { if ($this->isEnumAttribute($key)) { $enumClass = $this->getEnumClass($key); - if (! $value instanceof $enumClass) { + if (!$value instanceof $enumClass) { $value = new $enumClass($value); }