@@ -730,6 +730,7 @@ |
||
730 | 730 | |
731 | 731 | /** |
732 | 732 | * {@inheritDoc} |
733 | + * @param string $driverName |
|
733 | 734 | */ |
734 | 735 | protected function loadCacheDriver($driverName, $entityManagerName, array $driverMap, ContainerBuilder $container) |
735 | 736 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | /** |
92 | 92 | * Shrink the values of parameters from a combination |
93 | 93 | * |
94 | - * @param array $parameters |
|
94 | + * @param string[] $parameters |
|
95 | 95 | * @param array $combination |
96 | 96 | * |
97 | 97 | * @return string |
@@ -9,6 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * @param string $className |
11 | 11 | * @param string $serviceId |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function registerService($className, $serviceId); |
14 | 15 | } |
@@ -233,6 +233,9 @@ |
||
233 | 233 | return $this->groupedQueries; |
234 | 234 | } |
235 | 235 | |
236 | + /** |
|
237 | + * @param integer $totalExecutionTimeMS |
|
238 | + */ |
|
236 | 239 | private function executionTimePercentage($executionTimeMS, $totalExecutionTimeMS) |
237 | 240 | { |
238 | 241 | if ($totalExecutionTimeMS === 0.0 || $totalExecutionTimeMS === 0) { |
@@ -725,6 +725,9 @@ discard block |
||
725 | 725 | $this->assertFalse($container->hasDefinition('doctrine.dbal.bar_shard_manager')); |
726 | 726 | } |
727 | 727 | |
728 | + /** |
|
729 | + * @param string $vendor |
|
730 | + */ |
|
728 | 731 | private function getContainer($bundles = 'YamlBundle', $vendor = null) |
729 | 732 | { |
730 | 733 | $bundles = (array) $bundles; |
@@ -751,6 +754,10 @@ discard block |
||
751 | 754 | $this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '" . $definition->getClass() . "' don't match."); |
752 | 755 | } |
753 | 756 | |
757 | + /** |
|
758 | + * @param integer $pos |
|
759 | + * @param string $methodName |
|
760 | + */ |
|
754 | 761 | private function assertDICDefinitionMethodCallAt($pos, Definition $definition, $methodName, array $params = null) |
755 | 762 | { |
756 | 763 | $calls = $definition->getMethodCalls(); |
@@ -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(); |