X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FAction.php;h=f06f828204a940bddc71f5d452386e7b35e38745;hb=1e3c2e5904d628c001a8d65909b135ea9bf042aa;hp=839d7b23e7699927b95fde50ff4257d462687923;hpb=caf87b48938fc23c1a95936d692c82f73e3d21e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/Action.php b/includes/actions/Action.php index 839d7b23e7..f06f828204 100644 --- a/includes/actions/Action.php +++ b/includes/actions/Action.php @@ -62,7 +62,7 @@ abstract class Action { * the action is disabled, or null if it's not recognised * @param string $action * @param array $overrides - * @return bool|null|string|callable + * @return bool|null|string|callable|Action */ final private static function getClass( $action, array $overrides ) { global $wgActions; @@ -88,7 +88,7 @@ abstract class Action { * @since 1.17 * @param string $action * @param Page $page - * @param IContextSource $context + * @param IContextSource|null $context * @return Action|bool|null False if the action is disabled, null * if it is not recognised */ @@ -264,7 +264,7 @@ abstract class Action { * Only public since 1.21 * * @param Page $page - * @param IContextSource $context + * @param IContextSource|null $context */ public function __construct( Page $page, IContextSource $context = null ) { if ( $context === null ) {