Changed implments to implements
Changed implmented to implemented
Bug: T201491
Change-Id: I369a0079211ca798c6d44fb570035438769bfc32
public function preventSessionsForUser( $username ) {
if ( !$this->canChangeUser() ) {
throw new \BadMethodCallException(
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'
/**
* Provides various methods needed for formatting dates and times. This
/**
* 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
* something very different from the usual Gregorian calendar.
*
* Being intended mainly for testing, niceties like i18n and better
$this->fail( 'Expected exception not thrown' );
} catch ( \BadMethodCallException $ex ) {
$this->assertSame(
$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()
);
'when canChangeUser() is false',
$ex->getMessage()
);