From 212d3485fcb900dde3ff91a719206b2a9886faab Mon Sep 17 00:00:00 2001 From: Jeffrey Fisher Date: Fri, 9 Sep 2016 23:34:16 -0700 Subject: [PATCH] Use correct constructor syntax so deprecation warnings are silenced --- core/console/table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/console/table.php b/core/console/table.php index 4d8ec28..961eed5 100644 --- a/core/console/table.php +++ b/core/console/table.php @@ -169,9 +169,9 @@ class Console_Table * extension. * @param boolean $color Whether the data contains ansi color codes. */ - function Console_Table($align = CONSOLE_TABLE_ALIGN_LEFT, - $border = CONSOLE_TABLE_BORDER_ASCII, $padding = 1, - $charset = null, $color = false) + function __construct($align = CONSOLE_TABLE_ALIGN_LEFT, + $border = CONSOLE_TABLE_BORDER_ASCII, $padding = 1, + $charset = null, $color = false) { $this->_defaultAlign = $align; $this->_border = $border;