Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions FlowElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,17 @@ public function updatePropertyList()
$pipeline->updatePropertyDatabaseForFlowElement($this);
}
}

/**
* A default dummy constructor is needed for there are classes inheriting this
* class deeper than 1-level of inheritance and calling parent::__construct() in their
* explicit constructors unfortunately intermediates do not define their own __construct()
* so the call propagates up to the base class FlowElement and fails.
* Intermediates might define their own __construct() at some point, so we do not want
* remove parent::__construct() calls, rather add this one as a catch all.
*
* */
public function __construct() {

}
}