Remove superfluous spaces and semicolons in comments
authorFomafix <fomafix@googlemail.com>
Mon, 5 Feb 2018 18:21:09 +0000 (19:21 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 5 Feb 2018 19:05:57 +0000 (19:05 +0000)
Change-Id: Ib4b452f1843ec250c8c1fcc2a738d80726b6135d

includes/Title.php
includes/api/ApiQueryBase.php
includes/http/MWHttpRequest.php
includes/interwiki/Interwiki.php
includes/libs/MultiHttpClient.php
includes/media/IPTC.php
includes/media/MediaTransformOutput.php
resources/src/mediawiki.widgets/mw.widgets.CategoryMultiselectWidget.js
tests/phpunit/includes/changes/RCCacheEntryFactoryTest.php

index c4cf434..9241f3d 100644 (file)
@@ -4500,7 +4500,7 @@ class Title implements LinkTarget {
                }
 
                if ( $this->isExternal() ) {
-                       return true;  // any interwiki link might be viewable, for all we know
+                       return true; // any interwiki link might be viewable, for all we know
                }
 
                switch ( $this->mNamespace ) {
index e0ab53a..f6e9a95 100644 (file)
@@ -255,7 +255,7 @@ abstract class ApiQueryBase extends ApiBase {
        /**
         * Equivalent to addWhere(array($field => $value))
         * @param string $field Field name
-        * @param string|string[] $value Value; ignored if null or empty array;
+        * @param string|string[] $value Value; ignored if null or empty array
         */
        protected function addWhereFld( $field, $value ) {
                if ( $value !== null && !( is_array( $value ) && !$value ) ) {
index ac16032..f13461c 100644 (file)
@@ -49,7 +49,7 @@ abstract class MWHttpRequest implements LoggerAwareInterface {
        protected $reqHeaders = [];
        protected $url;
        protected $parsedUrl;
-       /** @var callable  */
+       /** @var callable */
        protected $callback;
        protected $maxRedirects = 5;
        protected $followRedirects = false;
@@ -79,7 +79,7 @@ abstract class MWHttpRequest implements LoggerAwareInterface {
        protected $profileName;
 
        /**
-        * @var LoggerInterface;
+        * @var LoggerInterface
         */
        protected $logger;
 
index 2156820..5a996d9 100644 (file)
@@ -32,7 +32,7 @@ class Interwiki {
        /** @var string The URL of the wiki, with "$1" as a placeholder for an article name. */
        protected $mURL;
 
-       /** @var string The URL of the file api.php  */
+       /** @var string The URL of the file api.php */
        protected $mAPI;
 
        /** @var string The name of the database (for a connection to be established
index 3282ae2..053a5ff 100644 (file)
@@ -48,7 +48,7 @@ use Psr\Log\NullLogger;
 class MultiHttpClient implements LoggerAwareInterface {
        /** @var resource */
        protected $multiHandle = null; // curl_multi handle
-       /** @var string|null SSL certificates path  */
+       /** @var string|null SSL certificates path */
        protected $caBundlePath;
        /** @var int */
        protected $connTimeout = 10;
index 894043a..ef7ed5f 100644 (file)
@@ -75,7 +75,7 @@ class IPTC {
                                         * Title, person. Not sure if this is best
                                         * approach since we no longer have the two fields
                                         * separate. each byline title entry corresponds to a
-                                        * specific byline.                          */
+                                        * specific byline. */
 
                                        $bylines = self::convIPTC( $val, $c );
                                        if ( isset( $parsed['2#085'] ) ) {
index 5366c4f..3506684 100644 (file)
@@ -47,13 +47,13 @@ abstract class MediaTransformOutput {
        /** @var bool|string */
        protected $page;
 
-       /** @var bool|string Filesystem path to the thumb  */
+       /** @var bool|string Filesystem path to the thumb */
        protected $path;
 
        /** @var bool|string Language code, false if not set */
        protected $lang;
 
-       /** @var bool|string Permanent storage path  */
+       /** @var bool|string Permanent storage path */
        protected $storagePath = false;
 
        /**
index 3f19509..b3bcc0d 100644 (file)
                /** Search for existing categories with the exact title */
                Exists: 2,
 
-               /** Search only subcategories  */
+               /** Search only subcategories */
                SubCategories: 3,
 
                /** Search only parent categories */
index ac81b28..b1857cc 100644 (file)
@@ -18,7 +18,7 @@ class RCCacheEntryFactoryTest extends MediaWikiLangTestCase {
        private $testRecentChangesHelper;
 
        /**
-        * @var LinkRenderer;
+        * @var LinkRenderer
         */
        private $linkRenderer;