Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 8, 2024
1 parent 6cfaae0 commit fc059a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CastsEnums.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fc059a1

Please sign in to comment.