Skip to content

Commit 3758904

Browse files
committed
Improve PHP 8.4+ support by avoiding implicitly nullable types
1 parent cc3e79a commit 3758904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Graph/GraphComposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class GraphComposer
4242
* @param string $dir
4343
* @param GraphViz|null $graphviz
4444
*/
45-
public function __construct($dir, GraphViz $graphviz = null)
45+
public function __construct($dir, ?GraphViz $graphviz = null)
4646
{
4747
if ($graphviz === null) {
4848
$graphviz = new GraphViz();

0 commit comments

Comments
 (0)