Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/router' of github.com:DASPRiD/zf2 into feature/…
Browse files Browse the repository at this point in the history
…router
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Configuration.php
Expand Up @@ -80,6 +80,7 @@ public function configureDefinition(Di $di, $definition)
$classDefinition->addMethodParameter($methodName, $paramName, $paramInfo);
}
}
break;
default:
$methodName = $classDefKey;
$methodInfo = $classDefData;
Expand Down
1 change: 1 addition & 0 deletions test/ConfigurationTest.php
Expand Up @@ -118,6 +118,7 @@ public function testCanSetInstantiatorToStaticFactory()
$this->assertEquals($dummyParams->params['param1'], 'hello');
$this->assertEquals($dummyParams->params['param2'], 'world');
$this->assertEquals($dummyParams->params['foo'], 'bar');
$this->assertArrayNotHasKey('methods', $di->definitions()->hasMethods('ZendTest\Di\TestAsset\StaticFactory'));
}

}

0 comments on commit 08a171a

Please sign in to comment.