Skip to content

Commit

Permalink
trim(): Passing null to parameter #1 ($string) of type string is depr…
Browse files Browse the repository at this point in the history
…ecated
  • Loading branch information
escopecz committed Jun 9, 2023
1 parent 71074db commit b4dc980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/LeadBundle/Entity/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ public function setDescription($description)
*/
protected function validateTag($tag)
{
return InputHelper::string(trim($tag));
return InputHelper::string(trim((string) $tag));
}
}

0 comments on commit b4dc980

Please sign in to comment.