Change-Id: If365123ffafe8c3eb7566432276131f815a68280
* @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
*/
* 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 ) {