15
15
use RecursiveIteratorIterator ;
16
16
use RecursiveRegexIterator ;
17
17
use RegexIterator ;
18
+ use stdClass ;
18
19
use Zend \ServiceManager \Exception \ServiceNotCreatedException ;
19
20
use Zend \ServiceManager \Exception \ServiceNotFoundException ;
20
21
use Zend \ServiceManager \Factory \InvokableFactory ;
@@ -226,7 +227,7 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
226
227
'lazy_services ' => [
227
228
'class_map ' => [
228
229
InvokableObject::class => InvokableObject::class,
229
- \ stdClass::class => \ stdClass::class,
230
+ stdClass::class => stdClass::class,
230
231
],
231
232
'proxies_namespace ' => 'TestAssetProxy ' ,
232
233
],
@@ -235,7 +236,7 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
235
236
],
236
237
'delegators ' => [
237
238
InvokableObject::class => [LazyServiceFactory::class],
238
- \ stdClass::class => [LazyServiceFactory::class],
239
+ stdClass::class => [LazyServiceFactory::class],
239
240
],
240
241
];
241
242
@@ -246,11 +247,11 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
246
247
$ instance ,
247
248
'Service returned does not extend ' . InvokableObject::class
248
249
);
249
- $ instance = $ container ->build (\ stdClass::class, ['foo ' => 'bar ' ]);
250
+ $ instance = $ container ->build (stdClass::class, ['foo ' => 'bar ' ]);
250
251
$ this ->assertInstanceOf (
251
- \ stdClass::class,
252
+ stdClass::class,
252
253
$ instance ,
253
- 'Service returned does not extend ' . \ stdClass::class
254
+ 'Service returned does not extend ' . stdClass::class
254
255
);
255
256
256
257
$ proxyAutoloadFunctions = $ this ->getRegisteredProxyAutoloadFunctions ();
0 commit comments