X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputPage.php;h=6ea495372d4f80d5d9d19fd565fed48b8cf97279;hb=435e4cab44875c2b7f910a1bb9351a8858723406;hp=cb250361da39c430e27189224d5bb0f2730056fd;hpb=7eddc5caaaa92108836c8191b16520f862af94ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index cb250361da..6ea495372d 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -311,6 +311,7 @@ class OutputPage extends ContextSource { * Constructor for OutputPage. This should not be called directly. * Instead a new RequestContext should be created and it will implicitly create * a OutputPage tied to that context. + * @param IContextSource|null $context */ function __construct( IContextSource $context = null ) { if ( $context === null ) { @@ -388,6 +389,7 @@ class OutputPage extends ContextSource { /** * Set the URL to be used for the . This should be used * in preference to addLink(), to avoid duplicate link tags. + * @param string $url */ function setCanonicalUrl( $url ) { $this->mCanonicalUrl = $url;