We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a461a59 commit fcb499bCopy full SHA for fcb499b
1 file changed
src/Tags/GithubGraph.php
@@ -206,9 +206,7 @@ public static function js()
206
207
$options['targetId'] = $id;
208
209
- if (self::$eventType !== null) {
210
- $options['eventType'] = self::$eventType;
211
- }
+ $options['eventType'] = self::$eventType ?? 'gradient';
212
213
if (self::$title !== null) {
214
$options['title'] = self::$title;
0 commit comments