From db98d830f75076d20a9a21065151fb05c262e606 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Sun, 1 May 2016 10:59:08 +0200 Subject: [PATCH] PHP7: Remove old-style constructors One function was omitted from baae433f220fe8b0bed41e0ffb4c46942729a142. Fixes #20501 --- core/graphviz_api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/graphviz_api.php b/core/graphviz_api.php index c3117bcd83..1ee585a1bd 100644 --- a/core/graphviz_api.php +++ b/core/graphviz_api.php @@ -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 ); } /**