Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit ae3844a

Browse files
committed
Missing import of stdClass
1 parent 6806bba commit ae3844a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/LazyServiceIntegrationTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use RecursiveIteratorIterator;
1616
use RecursiveRegexIterator;
1717
use RegexIterator;
18+
use stdClass;
1819
use Zend\ServiceManager\Exception\ServiceNotCreatedException;
1920
use Zend\ServiceManager\Exception\ServiceNotFoundException;
2021
use Zend\ServiceManager\Factory\InvokableFactory;
@@ -226,7 +227,7 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
226227
'lazy_services' => [
227228
'class_map' => [
228229
InvokableObject::class => InvokableObject::class,
229-
\stdClass::class => \stdClass::class,
230+
stdClass::class => stdClass::class,
230231
],
231232
'proxies_namespace' => 'TestAssetProxy',
232233
],
@@ -235,7 +236,7 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
235236
],
236237
'delegators' => [
237238
InvokableObject::class => [LazyServiceFactory::class],
238-
\stdClass::class => [LazyServiceFactory::class],
239+
stdClass::class => [LazyServiceFactory::class],
239240
],
240241
];
241242

@@ -246,11 +247,11 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
246247
$instance,
247248
'Service returned does not extend ' . InvokableObject::class
248249
);
249-
$instance = $container->build(\stdClass::class, ['foo' => 'bar']);
250+
$instance = $container->build(stdClass::class, ['foo' => 'bar']);
250251
$this->assertInstanceOf(
251-
\stdClass::class,
252+
stdClass::class,
252253
$instance,
253-
'Service returned does not extend ' . \stdClass::class
254+
'Service returned does not extend ' . stdClass::class
254255
);
255256

256257
$proxyAutoloadFunctions = $this->getRegisteredProxyAutoloadFunctions();

0 commit comments

Comments
 (0)