Remove comments documenting constructors as "constructors"
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 2 Jan 2019 09:20:13 +0000 (10:20 +0100)
committerThiemo Kreuz (WMDE) <thiemo.kreuz@wikimedia.de>
Tue, 8 Jan 2019 10:11:36 +0000 (10:11 +0000)
Such comments are cruft and do not add anything that's not already
obvious from the code.

Change-Id: I42068b0c6c904bc4ee38f1700e0ea14c3d659a25

includes/Revision/SlotRecord.php
includes/Revision/SlotRoleRegistry.php
includes/changes/ChangesList.php
includes/libs/mime/IEContentAnalyzer.php
includes/utils/ZipDirectoryReader.php
includes/widget/CheckMatrixWidget.php

index 89980f4..064f7a4 100644 (file)
@@ -219,8 +219,6 @@ class SlotRecord {
        }
 
        /**
-        * SlotRecord constructor.
-        *
         * The following fields are supported by the $row parameter:
         *
         *   $row->blob_data
index b108b98..41ea4a6 100644 (file)
@@ -63,8 +63,6 @@ class SlotRoleRegistry {
        private $handlers;
 
        /**
-        * SlotRoleRegistry constructor.
-        *
         * @param NameTableStore $roleNamesStore
         */
        public function __construct( NameTableStore $roleNamesStore ) {
index a39568b..6a8bd6d 100644 (file)
@@ -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)
         */
index 802ed2d..4ae3cf9 100644 (file)
@@ -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;
index 46f3bbc..46f1aaa 100644 (file)
@@ -127,7 +127,6 @@ class ZipDirectoryReader {
        const GENERAL_CD_ENCRYPTED = 13;
 
        /**
-        * Private constructor
         * @param string $fileName
         * @param callable $callback
         * @param array $options
index 797a81f..06d8095 100644 (file)
@@ -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