From: Thiemo Kreuz Date: Wed, 2 Jan 2019 09:20:13 +0000 (+0100) Subject: Remove comments documenting constructors as "constructors" X-Git-Tag: 1.34.0-rc.0~3119^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=8fb3666148e3a23d0f44f217a23fb66aa20bcfe1;p=lhc%2Fweb%2Fwiklou.git Remove comments documenting constructors as "constructors" Such comments are cruft and do not add anything that's not already obvious from the code. Change-Id: I42068b0c6c904bc4ee38f1700e0ea14c3d659a25 --- diff --git a/includes/Revision/SlotRecord.php b/includes/Revision/SlotRecord.php index 89980f419f..064f7a47b6 100644 --- a/includes/Revision/SlotRecord.php +++ b/includes/Revision/SlotRecord.php @@ -219,8 +219,6 @@ class SlotRecord { } /** - * SlotRecord constructor. - * * The following fields are supported by the $row parameter: * * $row->blob_data diff --git a/includes/Revision/SlotRoleRegistry.php b/includes/Revision/SlotRoleRegistry.php index b108b98d43..41ea4a618e 100644 --- a/includes/Revision/SlotRoleRegistry.php +++ b/includes/Revision/SlotRoleRegistry.php @@ -63,8 +63,6 @@ class SlotRoleRegistry { private $handlers; /** - * SlotRoleRegistry constructor. - * * @param NameTableStore $roleNamesStore */ public function __construct( NameTableStore $roleNamesStore ) { diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index a39568ba91..6a8bd6d83f 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -58,8 +58,6 @@ class ChangesList extends ContextSource { protected $filterGroups; /** - * Changeslist constructor - * * @param Skin|IContextSource $obj * @param array $filterGroups Array of ChangesListFilterGroup objects (currently optional) */ diff --git a/includes/libs/mime/IEContentAnalyzer.php b/includes/libs/mime/IEContentAnalyzer.php index 802ed2decb..4ae3cf92b3 100644 --- a/includes/libs/mime/IEContentAnalyzer.php +++ b/includes/libs/mime/IEContentAnalyzer.php @@ -311,7 +311,6 @@ class IEContentAnalyzer { */ protected $typeTable = []; - /** constructor */ function __construct() { // Construct versioned type arrays from the base type array plus additions $types = $this->baseTypeTable; diff --git a/includes/utils/ZipDirectoryReader.php b/includes/utils/ZipDirectoryReader.php index 46f3bbcce7..46f1aaab47 100644 --- a/includes/utils/ZipDirectoryReader.php +++ b/includes/utils/ZipDirectoryReader.php @@ -127,7 +127,6 @@ class ZipDirectoryReader { const GENERAL_CD_ENCRYPTED = 13; /** - * Private constructor * @param string $fileName * @param callable $callback * @param array $options diff --git a/includes/widget/CheckMatrixWidget.php b/includes/widget/CheckMatrixWidget.php index 797a81fb1c..06d8095ed4 100644 --- a/includes/widget/CheckMatrixWidget.php +++ b/includes/widget/CheckMatrixWidget.php @@ -19,8 +19,6 @@ class CheckMatrixWidget extends \OOUI\Widget { protected $forcedOff = []; /** - * CheckMatrixWidget constructor - * * Operates similarly to MultiSelectWidget, but instead of using an array of * options, uses an array of rows and an array of columns to dynamically * construct a matrix of options. The tags used to identify a particular cell