Skip to content

Commit

Permalink
PHP7: Remove old-style constructors
Browse files Browse the repository at this point in the history
One function was omitted from baae433.

Fixes #20501
  • Loading branch information
dregad committed May 1, 2016
1 parent fcd4939 commit db98d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/graphviz_api.php
Expand Up @@ -462,8 +462,8 @@ class Digraph extends Graph {
* @param array $p_attributes Attributes.
* @param string $p_tool Graphviz tool.
*/
function Digraph( $p_name = 'G', array $p_attributes = array(), $p_tool = 'dot' ) {
parent::Graph( $p_name, $p_attributes, $p_tool );
function __construct( $p_name = 'G', array $p_attributes = array(), $p_tool = 'dot' ) {
parent::__construct( $p_name, $p_attributes, $p_tool );
}

/**
Expand Down

0 comments on commit db98d83

Please sign in to comment.