Skip to content

Commit

Permalink
fix: php 7.x compat
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 13, 2023
1 parent 930d210 commit ccb1954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CheckNotificationRecipients.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public function __invoke(BlueprintInterface $blueprint, array $users): array
*/
protected function isFollowTagsBlueprint(BlueprintInterface $blueprint): bool
{
return strpos($blueprint::class, 'FoF\FollowTags\Notification') === 0;
return strpos(get_class($blueprint), 'FoF\FollowTags\Notification') === 0;
}
}

0 comments on commit ccb1954

Please sign in to comment.