mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 08:30:26 +00:00
Hooks: Use private instead of public for internal functions
Change-Id: I3566e8271ce37807f7d24867680d8229aa97302a
This commit is contained in:
parent
8565e167d7
commit
47ed85f491
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue