Skip to content

Commit

Permalink
[BUGFIX] Make sure all model classes are extensible (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitzberger committed Nov 24, 2023
1 parent 162b987 commit a05977a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Classes/Domain/Model/FileReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ class FileReference extends \TYPO3\CMS\Extbase\Domain\Model\FileReference
*/
protected $showinpreview = 0;

/**
* This empty constructor is necessary so class is fully
* extensible by other extensions that might want to define
* an own __construct() method
*/
public function __construct() {}

/**
* Set File uid
*
Expand Down
7 changes: 7 additions & 0 deletions Classes/Domain/Model/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ class Link extends AbstractValueObject
*/
protected $l10nParent = 0;

/**
* This empty constructor is necessary so class is fully
* extensible by other extensions that might want to define
* an own __construct() method
*/
public function __construct() {}

/**
* Get creation date
*
Expand Down
7 changes: 7 additions & 0 deletions Classes/Domain/Model/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ class Tag extends AbstractValueObject
/** @var string */
protected $slug = '';

/**
* This empty constructor is necessary so class is fully
* extensible by other extensions that might want to define
* an own __construct() method
*/
public function __construct() {}

/**
* Get crdate
*
Expand Down

0 comments on commit a05977a

Please sign in to comment.