Unsuppress another phan issue (part 7)
[lhc/web/wiklou.git] / includes / block / Restriction / Restriction.php
index a89ca38..5dddd78 100644 (file)
@@ -55,22 +55,22 @@ interface Restriction {
         * @since 1.33
         * @return string
         */
-       public function getType();
+       public static function getType();
 
        /**
         * Gets the id of the type of restriction. This id is used in the database.
         *
         * @since 1.33
-        * @return string
+        * @return int
         */
-       public function getTypeId();
+       public static function getTypeId();
 
        /**
         * Creates a new Restriction from a database row.
         *
         * @since 1.33
         * @param \stdClass $row
-        * @return self
+        * @return static
         */
        public static function newFromRow( \stdClass $row );