From: Thiemo Mättig Date: Tue, 5 Jul 2016 14:49:17 +0000 (+0200) Subject: Add missing …|null $context documentation to Action class X-Git-Tag: 1.31.0-rc.0~6432^2 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=16c26f8eb8fa6004caed07c9b44317cdf7030958;p=lhc%2Fweb%2Fwiklou.git Add missing …|null $context documentation to Action class Change-Id: If365123ffafe8c3eb7566432276131f815a68280 --- diff --git a/includes/actions/Action.php b/includes/actions/Action.php index 84bf16ee8f..f06f828204 100644 --- a/includes/actions/Action.php +++ b/includes/actions/Action.php @@ -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 ) {