Skip to content

Commit b0746c6

Browse files
authored
Fix: Add explicit nullable type (#130)
1 parent 6342b02 commit b0746c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Caxy/HtmlDiff/HtmlDiff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class HtmlDiff extends AbstractDiff
3131
*
3232
* @return self
3333
*/
34-
public static function create($oldText, $newText, HtmlDiffConfig $config = null)
34+
public static function create($oldText, $newText, ?HtmlDiffConfig $config = null)
3535
{
3636
$diff = new self($oldText, $newText);
3737

0 commit comments

Comments
 (0)