mk Campaign constructor protected to allow instantiating only by itself

This commit is contained in:
Marc Michalsky forumZFD 2020-11-02 17:43:18 +01:00
parent 50a63ee860
commit 0492687610
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -45,7 +45,7 @@ abstract class Campaign {
*
* @throws Exception
*/
public function __construct(array $campaign, string $origin) {
protected function __construct(array $campaign, string $origin) {
$this->className = get_class($this);