From eb3b8529b6c2699f2e7a9b9730d0663c246eb4a8 Mon Sep 17 00:00:00 2001 From: Fabri Di Napoli Date: Wed, 8 Mar 2017 23:59:36 +0100 Subject: [PATCH] Use class constant instead of hardcoded namespace --- Structural/Proxy/Tests/ProxyTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Structural/Proxy/Tests/ProxyTest.php b/Structural/Proxy/Tests/ProxyTest.php index da212ae..a756256 100644 --- a/Structural/Proxy/Tests/ProxyTest.php +++ b/Structural/Proxy/Tests/ProxyTest.php @@ -19,6 +19,6 @@ class ProxyTest extends \PHPUnit_Framework_TestCase $recordProxy = new RecordProxy([]); $recordProxy->username = 'baz'; - $this->assertInstanceOf('DesignPatterns\Structural\Proxy\Record', $recordProxy); + $this->assertInstanceOf(RecordProxy::class, $recordProxy); } }