mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-23 23:03:46 +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
|
* @param string $format
|
||||||
* @return null|string
|
* @return null|string
|
||||||
*/
|
*/
|
||||||
public function getPageLanguage( Title $title, $model, $format ) {
|
private function getPageLanguage( Title $title, $model, $format ) {
|
||||||
if ( $model === CONTENT_MODEL_JAVASCRIPT ) {
|
if ( $model === CONTENT_MODEL_JAVASCRIPT ) {
|
||||||
return 'javascript';
|
return 'javascript';
|
||||||
} elseif ( $model === CONTENT_MODEL_CSS ) {
|
} elseif ( $model === CONTENT_MODEL_CSS ) {
|
||||||
|
|
Loading…
Reference in a new issue