Skip to content

Commit

Permalink
styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas authored Apr 6, 2023
1 parent 277260a commit cd1456b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Casts/PurifyHtmlOnSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public function get($model, string $key, $value, array $attributes)
public function set($model, string $key, $value, array $attributes)
{
if (is_null($value)) {
return null;
return null;
}

return Purify::config($this->config)->clean($value);
}
}

0 comments on commit cd1456b

Please sign in to comment.