Skip to content

Commit

Permalink
Fix built in noIndex macro (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Allport authored Feb 28, 2022
1 parent 21810f8 commit c411b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function instance(): ?self

public static function forget(string $tag): self
{
if (self::$tags->has($tag)) {
if (null !== self::$tags && self::$tags->has($tag)) {
self::$tags->pull($tag);
}

Expand Down

0 comments on commit c411b84

Please sign in to comment.