diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 9c3d8d1e..81dd15a6 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -86,10 +86,9 @@ addToOutput - wfMessage( 'maps-loading-map' )->inContentLanguage()->text() + wfMessage( 'maps-loading-map' )->text() - - inContentLanguage + text @@ -101,10 +100,9 @@ - wfMessage( 'maps-geo-json-create-page-button' )->inContentLanguage()->text() + wfMessage( 'maps-geo-json-create-page-button' )->text() - - inContentLanguage + text @@ -636,10 +634,9 @@ - wfMessage( 'maps-loading-map' )->inContentLanguage()->text() + wfMessage( 'maps-loading-map' )->text() - - inContentLanguage + text diff --git a/src/GeoJsonPages/GeoJsonMapPageUi.php b/src/GeoJsonPages/GeoJsonMapPageUi.php index 34e02331..f75bd1c6 100644 --- a/src/GeoJsonPages/GeoJsonMapPageUi.php +++ b/src/GeoJsonPages/GeoJsonMapPageUi.php @@ -52,7 +52,7 @@ private function getHtml(): string { [ 'class' => 'maps-loading-message' ], - wfMessage( 'maps-loading-map' )->inContentLanguage()->text() + wfMessage( 'maps-loading-map' )->text() ) ) ); diff --git a/src/GeoJsonPages/GeoJsonNewPageUi.php b/src/GeoJsonPages/GeoJsonNewPageUi.php index 242b936d..b30ecf24 100644 --- a/src/GeoJsonPages/GeoJsonNewPageUi.php +++ b/src/GeoJsonPages/GeoJsonNewPageUi.php @@ -23,7 +23,7 @@ public function addToOutput(): void { [ 'id' => 'maps-geojson-new' ], - wfMessage( 'maps-geo-json-create-page-button' )->inContentLanguage()->text() + wfMessage( 'maps-geo-json-create-page-button' )->text() ) ); } diff --git a/src/Map/MapHtmlBuilder.php b/src/Map/MapHtmlBuilder.php index 7ce117cf..a5f6e1fd 100644 --- a/src/Map/MapHtmlBuilder.php +++ b/src/Map/MapHtmlBuilder.php @@ -30,7 +30,7 @@ public function getMapHTML( array $json, string $mapId, string $serviceName ): s [ 'class' => 'maps-loading-message' ], - wfMessage( 'maps-loading-map' )->inContentLanguage()->text() + wfMessage( 'maps-loading-map' )->text() ) . Html::element( 'div',