Skip to content

Commit 9d846d1

Browse files
authored
Merge pull request #17 from joehoyle/patch-1
Allow Hover to be created with MarkupContent
2 parents 85e83ca + fede7ea commit 9d846d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hover.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Hover
2222
public $range;
2323

2424
/**
25-
* @param string|MarkedString|string[]|MarkedString[] $contents The hover's content
25+
* @param string|MarkedString|string[]|MarkedString[]|MarkupContent $contents The hover's content
2626
* @param Range $range An optional range
2727
*/
2828
public function __construct($contents = null, $range = null)

0 commit comments

Comments
 (0)