Skip to content

Commit

Permalink
[PHP7] Add eZContentObjectTreeNode::__construct() now that BC constru…
Browse files Browse the repository at this point in the history
…ct method is added
  • Loading branch information
andrerom committed May 3, 2019
1 parent dee3162 commit c6f37e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kernel/classes/ezcontentobjecttreenode.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ class eZContentObjectTreeNode extends eZPersistentObject
const SORT_ORDER_DESC = 0;
const SORT_ORDER_ASC = 1;

public function __construct( $row = array() )
{
parent::__construct( $row );
}

/**
* @deprecated Use eZContentObjectTreeNode::__construct() instead
* @param int|array $row
*/
function eZContentObjectTreeNode( $row = array() )
{
parent::__construct( $row );
self::__construct( $row );
}

/**
Expand Down

0 comments on commit c6f37e6

Please sign in to comment.