Fixed typo 'implments' and 'implmented'
authordidicodes <edidiongasikpo@gmail.com>
Thu, 21 Mar 2019 15:10:02 +0000 (16:10 +0100)
committerdidicodes <edidiongasikpo@gmail.com>
Thu, 21 Mar 2019 15:17:09 +0000 (16:17 +0100)
Changed implments to implements
Changed implmented to implemented

Bug: T201491
Change-Id: I369a0079211ca798c6d44fb570035438769bfc32

includes/session/SessionProvider.php
resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js
tests/phpunit/includes/session/SessionProviderTest.php

index 1f015b5..781fc33 100644 (file)
@@ -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'
                        );
                }
        }
index f66b0d2..753a5c7 100644 (file)
@@ -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
index 052c016..6ff6a97 100644 (file)
@@ -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()
                        );