Skip to content

Commit

Permalink
Merge pull request #155 from jeffslofish/constructor_fix
Browse files Browse the repository at this point in the history
Use correct constructor syntax so deprecation warnings are silenced
  • Loading branch information
cyberscribe committed Sep 10, 2016
2 parents f1cb5fd + 212d348 commit 50ae3ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/console/table.php
Expand Up @@ -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;
Expand Down

0 comments on commit 50ae3ca

Please sign in to comment.