File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ private function createLazyServiceDelegatorFactory()
748
748
private function mergeDelegators (array $ config )
749
749
{
750
750
foreach ($ config as $ key => $ delegators ) {
751
- if (! isset ( $ this ->delegators [ $ key ] )) {
751
+ if (! array_key_exists ( $ key , $ this ->delegators )) {
752
752
$ this ->delegators [$ key ] = $ delegators ;
753
753
continue ;
754
754
}
Original file line number Diff line number Diff line change @@ -367,10 +367,10 @@ public function testResolvedAliasNoMatchingAbstractFactoryReturnsFalse()
367
367
}
368
368
369
369
/**
370
- * Hotfix #3
370
+ * @group #3
371
371
* @see https://github.com/laminas/laminas-servicemanager/issues/3
372
372
*/
373
- public function testConfigureMultipleTimesAvoidsDuplicates ()
373
+ public function testConfiguringADelegatorMultipleTimesDoesNotLeadToDuplicateDelegatorCalls ()
374
374
{
375
375
$ delegatorFactory = function (
376
376
ContainerInterface $ container ,
You can’t perform that action at this time.
0 commit comments