Skip to content

Commit 6a37cf9

Browse files
committed
Fix issue with __set signature
1 parent bd98a13 commit 6a37cf9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/phpDocumentor/GraphViz/Graph.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,9 @@ public function findNode(string $name) : ?Node
289289
* @param string $name Name of the node.
290290
* @param Node $value Node to set on the given name.
291291
*/
292-
public function __set(string $name, Node $value) : self
292+
public function __set(string $name, Node $value) : void
293293
{
294294
$this->nodes[$name] = $value;
295-
296-
return $this;
297295
}
298296

299297
/**

0 commit comments

Comments
 (0)