Skip to content

Commit

Permalink
Merge pull request #63 from uintaam/3.x
Browse files Browse the repository at this point in the history
TypeError thrown if is null
  • Loading branch information
butschster authored Apr 2, 2024
2 parents 02f9781 + 19852db commit 17f3a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MetaTags/Entities/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ protected function attributeElement(mixed $key, mixed $value): mixed
if (!is_null($value)) {
return $key . '="' . $value . '"';
}

return null;
}

/**
Expand Down

0 comments on commit 17f3a19

Please sign in to comment.