Hooks: Use private instead of public for internal functions

Change-Id: I3566e8271ce37807f7d24867680d8229aa97302a
This commit is contained in:
Fomafix 2024-03-09 16:21:17 +00:00
parent 8565e167d7
commit 47ed85f491

View file

@ -47,7 +47,7 @@ class Hooks implements
* @param string $format
* @return null|string
*/
public function getPageLanguage( Title $title, $model, $format ) {
private function getPageLanguage( Title $title, $model, $format ) {
if ( $model === CONTENT_MODEL_JAVASCRIPT ) {
return 'javascript';
} elseif ( $model === CONTENT_MODEL_CSS ) {