From: didicodes Date: Thu, 21 Mar 2019 15:10:02 +0000 (+0100) Subject: Fixed typo 'implments' and 'implmented' X-Git-Tag: 1.34.0-rc.0~2430^2 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=ea86c8bfdc8ddda1eccf1773a29a91a12dfb2cee;p=lhc%2Fweb%2Fwiklou.git Fixed typo 'implments' and 'implmented' Changed implments to implements Changed implmented to implemented Bug: T201491 Change-Id: I369a0079211ca798c6d44fb570035438769bfc32 --- diff --git a/includes/session/SessionProvider.php b/includes/session/SessionProvider.php index 1f015b52e6..781fc337a0 100644 --- a/includes/session/SessionProvider.php +++ b/includes/session/SessionProvider.php @@ -374,7 +374,7 @@ abstract class SessionProvider implements SessionProviderInterface, LoggerAwareI public function preventSessionsForUser( $username ) { if ( !$this->canChangeUser() ) { throw new \BadMethodCallException( - __METHOD__ . ' must be implmented when canChangeUser() is false' + __METHOD__ . ' must be implemented when canChangeUser() is false' ); } } diff --git a/resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js b/resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js index f66b0d2b82..753a5c77d7 100644 --- a/resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js +++ b/resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js @@ -2,7 +2,7 @@ /** * Provides various methods needed for formatting dates and times. This - * implementation implments the [Discordian calendar][1], mainly for testing with + * implementation implements the [Discordian calendar][1], mainly for testing with * something very different from the usual Gregorian calendar. * * Being intended mainly for testing, niceties like i18n and better diff --git a/tests/phpunit/includes/session/SessionProviderTest.php b/tests/phpunit/includes/session/SessionProviderTest.php index 052c0167a9..6ff6a97b8f 100644 --- a/tests/phpunit/includes/session/SessionProviderTest.php +++ b/tests/phpunit/includes/session/SessionProviderTest.php @@ -134,7 +134,7 @@ class SessionProviderTest extends MediaWikiTestCase { $this->fail( 'Expected exception not thrown' ); } catch ( \BadMethodCallException $ex ) { $this->assertSame( - 'MediaWiki\\Session\\SessionProvider::preventSessionsForUser must be implmented ' . + 'MediaWiki\\Session\\SessionProvider::preventSessionsForUser must be implemented ' . 'when canChangeUser() is false', $ex->getMessage() );