Skip to content

Commit e87bfd5

Browse files
committed
default dummy constructor
1 parent 015d408 commit e87bfd5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

FlowElement.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,17 @@ public function updatePropertyList()
122122
$pipeline->updatePropertyDatabaseForFlowElement($this);
123123
}
124124
}
125+
126+
/**
127+
* A default dummy constructor is needed for there are classes inheriting this
128+
* class deeper than 1-level of inheritance and calling parent::__construct() in their
129+
* explicit constructors unfortunately intermediates do not define their own __construct()
130+
* so the call propagates up to the base class FlowElement and fails.
131+
* Intermediates might define their own __construct() at some point, so we do not want
132+
* remove parent::__construct() calls, rather add this one as a catch all.
133+
*
134+
* */
135+
public function __construct() {
136+
137+
}
125138
}

0 commit comments

Comments
 (0)