Fixed typo 'implments' and 'implmented'
Changed implments to implements Changed implmented to implemented Bug: T201491 Change-Id: I369a0079211ca798c6d44fb570035438769bfc32
This commit is contained in:
parent
acd7c48f12
commit
ea86c8bfdc
3 changed files with 3 additions and 3 deletions
|
|
@ -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'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue