@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * Create a connection by name. |
| 40 | 40 | * |
| 41 | 41 | * @param mixed[] $params |
| 42 | - * @param string[]|Type[] $mappingTypes |
|
| 42 | + * @param integer[] $mappingTypes |
|
| 43 | 43 | * |
| 44 | 44 | * @return Connection |
| 45 | 45 | */ |
@@ -969,6 +969,9 @@ discard block |
||
| 969 | 969 | $this->assertDICDefinitionMethodCallOnce($definition, 'setRepositoryFactory', ['repository_factory']); |
| 970 | 970 | } |
| 971 | 971 | |
| 972 | + /** |
|
| 973 | + * @param string $fixture |
|
| 974 | + */ |
|
| 972 | 975 | private function loadContainer($fixture, array $bundles = ['YamlBundle'], CompilerPassInterface $compilerPass = null) |
| 973 | 976 | { |
| 974 | 977 | $container = $this->getContainer($bundles); |
@@ -1019,6 +1022,10 @@ discard block |
||
| 1019 | 1022 | $this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '" . $definition->getClass() . "' don't match."); |
| 1020 | 1023 | } |
| 1021 | 1024 | |
| 1025 | + /** |
|
| 1026 | + * @param integer $pos |
|
| 1027 | + * @param string $methodName |
|
| 1028 | + */ |
|
| 1022 | 1029 | private function assertDICDefinitionMethodCallAt($pos, Definition $definition, $methodName, array $params = null) |
| 1023 | 1030 | { |
| 1024 | 1031 | $calls = $definition->getMethodCalls(); |
@@ -1066,6 +1073,9 @@ discard block |
||
| 1066 | 1073 | $this->fail("Method '" . $methodName . "' is expected to be called once, definition does not contain a call though."); |
| 1067 | 1074 | } |
| 1068 | 1075 | |
| 1076 | + /** |
|
| 1077 | + * @param string $methodName |
|
| 1078 | + */ |
|
| 1069 | 1079 | private function assertDICDefinitionMethodCallCount(Definition $definition, $methodName, array $params = [], $nbCalls = 1) |
| 1070 | 1080 | { |
| 1071 | 1081 | $calls = $definition->getMethodCalls(); |