Skip to content

Commit 7c0c671

Browse files
committed
Remove pointless constructor comments
1 parent f1a10b4 commit 7c0c671

99 files changed

Lines changed: 4 additions & 268 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

wcfsetup/install/files/lib/data/DatabaseObject.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ abstract class DatabaseObject implements IIDObject, IStorableObject
5050
protected $data;
5151

5252
/**
53-
* Creates a new instance of the DatabaseObject class.
54-
*
5553
* @param mixed[]|null $row
5654
* @param ?static $object
5755
*/

wcfsetup/install/files/lib/data/article/AccessibleArticleList.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
*/
1515
class AccessibleArticleList extends ViewableArticleList
1616
{
17-
/**
18-
* Creates a new AccessibleArticleList object.
19-
*/
2017
public function __construct()
2118
{
2219
parent::__construct();

wcfsetup/install/files/lib/data/article/CategoryArticleList.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
class CategoryArticleList extends AccessibleArticleList
1616
{
1717
/**
18-
* Creates a new CategoryArticleList object.
19-
*
2018
* @param int|int[] $categoryID
2119
* @throws \InvalidArgumentException
2220
*/

wcfsetup/install/files/lib/data/article/TaggedArticleList.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
class TaggedArticleList extends AccessibleArticleList
1717
{
1818
/**
19-
* Creates a new CategoryArticleList object.
20-
*
2119
* @param Tag|Tag[] $tags
2220
*/
2321
public function __construct(Tag|array $tags)

wcfsetup/install/files/lib/data/attachment/AdministrativeAttachmentList.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ class AdministrativeAttachmentList extends AttachmentList
2121
*/
2222
public $decoratorClassName = AdministrativeAttachment::class;
2323

24-
/**
25-
* Creates a new AdministrativeAttachmentList object.
26-
*/
2724
public function __construct()
2825
{
2926
parent::__construct();

wcfsetup/install/files/lib/data/category/CategoryNodeTree.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ class CategoryNodeTree implements \IteratorAggregate
5959
protected $objectType = '';
6060

6161
/**
62-
* Creates a new instance of CategoryNodeTree.
63-
*
6462
* @param int[] $excludedCategoryIDs
6563
* @throws SystemException
6664
*/

wcfsetup/install/files/lib/data/comment/StructuredCommentList.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ class StructuredCommentList extends CommentList
7474
*/
7575
public $responseLoading = true;
7676

77-
/**
78-
* Creates a new structured comment list.
79-
*/
8077
public function __construct(ICommentManager $commentManager, int $objectTypeID, int $objectID)
8178
{
8279
parent::__construct();

wcfsetup/install/files/lib/data/comment/response/StructuredCommentResponseList.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ class StructuredCommentResponseList extends CommentResponseList
5252
*/
5353
public $sqlLimit = 50;
5454

55-
/**
56-
* Creates a new structured comment response list.
57-
*/
5855
public function __construct(ICommentManager $commentManager, Comment $comment)
5956
{
6057
parent::__construct();

wcfsetup/install/files/lib/data/media/ViewableMediaList.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class ViewableMediaList extends MediaList
2424
*/
2525
public $decoratorClassName = ViewableMedia::class;
2626

27-
/**
28-
* Creates a new ViewableMediaList object.
29-
*/
3027
public function __construct(?int $languageID = null)
3128
{
3229
parent::__construct();

wcfsetup/install/files/lib/data/menu/item/MenuItemNodeTree.class.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ class MenuItemNodeTree
5353
protected $visibleItemCount = 0;
5454

5555
/**
56-
* Creates a new MenuItemNodeTree object.
57-
*
58-
* @param MenuItemList $menuItemList optional object to be provided when building the tree from cache
56+
* @param ?MenuItemList $menuItemList optional object to be provided when building the tree from cache
5957
* @param bool $checkVisibility if `false`, individual menu item visibility will not be checked
6058
*/
6159
public function __construct(int $menuID, ?MenuItemList $menuItemList = null, bool $checkVisibility = true)

0 commit comments

Comments
 (0)