Ensure that signature of bindParent() in style class overrides matches the signature of bindParent() in the supervisor

This commit is contained in:
Mark Baker
2012-10-26 14:56:58 +01:00
parent 45f2829a33
commit a3303cd05e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ abstract class PHPExcel_Style_Supervisor
* @param PHPExcel $parent
* @return PHPExcel_Style_Supervisor
*/
public function bindParent($parent)
public function bindParent($parent, $parentPropertyName=NULL)
{
$this->_parent = $parent;
return $this;