Use class constant instead of hardcoded namespace

This commit is contained in:
Fabri Di Napoli
2017-03-09 00:14:31 +01:00
parent eb3b8529b6
commit 10ee886fe1
10 changed files with 30 additions and 20 deletions

View File

@@ -31,6 +31,6 @@ class ServiceLocatorTest extends TestCase
$this->serviceLocator->addClass(LogService::class, []);
$logger = $this->serviceLocator->get(LogService::class);
$this->assertInstanceOf('DesignPatterns\More\ServiceLocator\LogService', $logger);
$this->assertInstanceOf(LogService::class, $logger);
}
}