diff --git a/includes/block/BlockRestriction.php b/includes/block/BlockRestriction.php index 43d70e6b1c4..5bf286d013d 100644 --- a/includes/block/BlockRestriction.php +++ b/includes/block/BlockRestriction.php @@ -34,7 +34,6 @@ class BlockRestriction { * * @param int|array $blockId * @param IDatabase|null $db - * @param array $options Options to pass to the select query. * @return Restriction[] */ public static function loadByBlockId( $blockId, IDatabase $db = null ) { diff --git a/includes/block/Restriction/Restriction.php b/includes/block/Restriction/Restriction.php index f1cc1b0a226..5fefecc39f9 100644 --- a/includes/block/Restriction/Restriction.php +++ b/includes/block/Restriction/Restriction.php @@ -63,6 +63,7 @@ interface Restriction { /** * Creates a new Restriction from a database row. * + * @param \stdClass $row * @return self */ public static function newFromRow( \stdClass $row );