diff options
author | Matěj Suchánek <matejsuchanek97@gmail.com> | 2022-06-24 11:35:28 +0200 |
---|---|---|
committer | Matěj Suchánek <matejsuchanek97@gmail.com> | 2022-06-24 13:52:42 +0200 |
commit | 1865180ae7e17d3701e50fabfee932c1dfeb6183 (patch) | |
tree | e9689f8e4a61bb295aac64f16163800ad7ed7d51 /includes/debug | |
parent | 09b92847f8a32da4f5e52aef5d9c541dfd193289 (diff) | |
download | mediawikicore-1865180ae7e17d3701e50fabfee932c1dfeb6183.tar.gz mediawikicore-1865180ae7e17d3701e50fabfee932c1dfeb6183.zip |
Do minor code cleanup
Remove dead code and fix typos. Should cause no change in behavior.
Change-Id: I5d293b842bc93a28b8bcd799a31b5e6e30fe692e
Diffstat (limited to 'includes/debug')
-rw-r--r-- | includes/debug/DeprecationHelper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/debug/DeprecationHelper.php b/includes/debug/DeprecationHelper.php index 322f47f57b34..e9b7288bd5a7 100644 --- a/includes/debug/DeprecationHelper.php +++ b/includes/debug/DeprecationHelper.php @@ -22,7 +22,7 @@ /** * Use this trait in classes which have properties for which public access - * is deprecated or implementation has been move to another class. + * is deprecated or implementation has been moved to another class. * Set the list of properties in $deprecatedPublicProperties * and make the properties non-public. The trait will preserve public access * but issue deprecation warnings when it is needed. @@ -37,11 +37,11 @@ * 'movedValue', * '1.35', * function () { - * return MediawikiServices()::getInstance() + * return MediaWikiServices()::getInstance() * ->getNewImplementationService()->getValue(); * }, * function ( $value ) { - * MediawikiServices()::getInstance() + * MediaWikiServices()::getInstance() * ->getNewImplementationService()->setValue( $value ); * } * ); |