Make ForeignTitle properties private
authoraddshore <addshorewiki@gmail.com>
Tue, 26 Jan 2016 18:36:52 +0000 (19:36 +0100)
committeraddshore <addshorewiki@gmail.com>
Tue, 26 Jan 2016 18:36:52 +0000 (19:36 +0100)
Change-Id: If9ea22f412a378aa1090ba761c19f77c97da7df0

includes/title/ForeignTitle.php

index ed96d17..6e6f2ea 100644 (file)
@@ -30,11 +30,11 @@ class ForeignTitle {
         * @var int|null
         * Null if we don't know the namespace ID (e.g. interwiki links)
         */
-       protected $namespaceId;
+       private $namespaceId;
        /** @var string */
-       protected $namespaceName;
+       private $namespaceName;
        /** @var string */
-       protected $pageName;
+       private $pageName;
 
        /**
         * Creates a new ForeignTitle object.