block: Fix PHPDoc comments to match function signature (or method)
- Add @param annotation for $row to newFromRow() method in Restriction interface declaration. - Remove @param annotation for $option not used in loadByBlockId() method signature. Change-Id: Iec49b9541ea06da9f497e45bd35df26f8124aecf
This commit is contained in:
parent
f7ab788bf1
commit
262ce14bb6
2 changed files with 1 additions and 1 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue