From 9481e0ec88617c143e2fa8cf02fdf4f61d169a8d Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Wed, 6 Jul 2016 08:52:27 +0100 Subject: [PATCH] Fix grammar Fixes #888 --- src/Phinx/Db/Adapter/AdapterFactory.php | 2 +- tests/Phinx/Db/Adapter/AdapterFactoryTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Phinx/Db/Adapter/AdapterFactory.php b/src/Phinx/Db/Adapter/AdapterFactory.php index c255951f7..8f30accd1 100644 --- a/src/Phinx/Db/Adapter/AdapterFactory.php +++ b/src/Phinx/Db/Adapter/AdapterFactory.php @@ -91,7 +91,7 @@ public function registerAdapter($name, $class) { if (!is_subclass_of($class, 'Phinx\Db\Adapter\AdapterInterface')) { throw new \RuntimeException(sprintf( - 'Adapter class "%s" must be implement Phinx\\Db\\Adapter\\AdapterInterface', + 'Adapter class "%s" must implement Phinx\\Db\\Adapter\\AdapterInterface', $class )); } diff --git a/tests/Phinx/Db/Adapter/AdapterFactoryTest.php b/tests/Phinx/Db/Adapter/AdapterFactoryTest.php index f37ee2559..4a0f6fad3 100644 --- a/tests/Phinx/Db/Adapter/AdapterFactoryTest.php +++ b/tests/Phinx/Db/Adapter/AdapterFactoryTest.php @@ -41,7 +41,7 @@ public function testRegisterAdapter() /** * @expectedException \RuntimeException - * @expectedExceptionMessage Adapter class "Test\Phinx\Db\Adapter\AdapterFactoryTest" must be implement Phinx\Db\Adapter\AdapterInterface + * @expectedExceptionMessage Adapter class "Test\Phinx\Db\Adapter\AdapterFactoryTest" must implement Phinx\Db\Adapter\AdapterInterface */ public function testRegisterAdapterFailure() {