aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Output/OutputPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Output/OutputPage.php')
-rw-r--r--includes/Output/OutputPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Output/OutputPage.php b/includes/Output/OutputPage.php
index 196c1f4572d9..0a33bb608ccd 100644
--- a/includes/Output/OutputPage.php
+++ b/includes/Output/OutputPage.php
@@ -3062,7 +3062,7 @@ class OutputPage extends ContextSource {
return json_encode( $output, JSON_UNESCAPED_SLASHES );
}
- private function getFeaturePolicyReportOnly() {
+ private function getFeaturePolicyReportOnly(): string {
$config = $this->getConfig();
$features = $config->get( MainConfigNames::FeaturePolicyReportOnly );
@@ -3754,7 +3754,7 @@ class OutputPage extends ContextSource {
return $this->debugMode;
}
- private function getRlClientContext() {
+ private function getRlClientContext(): RL\Context {
if ( !$this->rlClientContext ) {
$query = ResourceLoader::makeLoaderQuery(
[], // modules; not relevant