Add CollationFa
[lhc/web/wiklou.git] / includes / db / DatabaseUtility.php
index 7fcb68e..b6c37ee 100644 (file)
@@ -210,7 +210,7 @@ class ResultWrapper implements Iterator {
  */
 class FakeResultWrapper extends ResultWrapper {
        /** @var array */
-       public $result = array();
+       public $result = [];
 
        /** @var null And it's going to stay that way :D */
        protected $db = null;
@@ -332,6 +332,13 @@ interface DBMasterPos {
         */
        public function hasReached( DBMasterPos $pos );
 
+       /**
+        * @param DBMasterPos $pos
+        * @return bool Whether this position appears to be for the same channel as another
+        * @since 1.27
+        */
+       public function channelsMatch( DBMasterPos $pos );
+
        /**
         * @return string
         * @since 1.27