* @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 );