make constructors protected

This commit is contained in:
Marc Michalsky forumZFD 2020-11-02 17:51:27 +01:00
parent 146c07e2cf
commit 23977c122e
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class TwingleEvent extends Campaign {
*
* @throws Exception
*/
public function __construct(array $event, string $origin) {
protected function __construct(array $event, string $origin) {
parent::__construct($event, $origin);
$this->className = (new \ReflectionClass($this))->getShortName();

View file

@ -28,7 +28,7 @@ class TwingleProject extends Campaign {
*
* @throws Exception
*/
public function __construct(array $project, string $origin) {
protected function __construct(array $project, string $origin) {
parent::__construct($project, $origin);
$this->className = (new \ReflectionClass($this))->getShortName();