Minor cleanup of languages/ConverterRule.php
authorAlangi Derick <alangiderick@gmail.com>
Tue, 23 Oct 2018 13:38:42 +0000 (14:38 +0100)
committerNikerabbit <niklas.laxstrom@gmail.com>
Wed, 24 Oct 2018 12:43:30 +0000 (12:43 +0000)
Remove extra space before comma and fix
minor issues with line comments.

Change-Id: I0306fe172eaa29ab504394f0a80b8652089a809c

languages/ConverterRule.php

index dc61519..999d648 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * Parser for rules of language conversion , parse rules in -{ }- tag.
+ * Parser for rules of language conversion, parse rules in -{ }- tag.
  * @ingroup Language
  * @author fdcn <fdcn64@gmail.com>, PhiLiP <philip.npc@gmail.com>
  */
@@ -29,13 +29,13 @@ class ConverterRule {
        public $mConverter; // LanguageConverter object
        public $mRuleDisplay = '';
        public $mRuleTitle = false;
-       public $mRules = '';// string : the text of the rules
+       public $mRules = ''; // string : the text of the rules
        public $mRulesAction = 'none';
        public $mFlags = [];
        public $mVariantFlags = [];
        public $mConvTable = [];
-       public $mBidtable = [];// array of the translation in each variant
-       public $mUnidtable = [];// array of the translation in each variant
+       public $mBidtable = []; // array of the translation in each variant
+       public $mUnidtable = []; // array of the translation in each variant
 
        /**
         * @param string $text The text between -{ and }-