@@ -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 $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) { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * Create a connection by name. |
39 | 39 | * |
40 | 40 | * @param mixed[] $params |
41 | - * @param string[]|Type[] $mappingTypes |
|
41 | + * @param integer[] $mappingTypes |
|
42 | 42 | * |
43 | 43 | * @return \Doctrine\DBAL\Connection |
44 | 44 | */ |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * You should not directly instantiate this class but use one of the |
19 | 19 | * factory methods. |
20 | 20 | * |
21 | - * @param Definition|Reference $driver Driver DI definition or reference. |
|
21 | + * @param Definition $driver Driver DI definition or reference. |
|
22 | 22 | * @param array $namespaces List of namespaces handled by $driver. |
23 | 23 | * @param string[] $managerParameters Ordered list of container parameters that |
24 | 24 | * could hold the manager name. |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @param string|false $enabledParameter If specified, the compiler pass only executes |
28 | 28 | * if this parameter is defined in the service |
29 | 29 | * container. |
30 | - * @param array $aliasMap Map of alias to namespace. |
|
30 | + * @param string[] $aliasMap Map of alias to namespace. |
|
31 | 31 | */ |
32 | 32 | public function __construct($driver, array $namespaces, array $managerParameters, $enabledParameter = false, array $aliasMap = []) |
33 | 33 | { |
@@ -968,6 +968,9 @@ discard block |
||
968 | 968 | $this->assertDICDefinitionMethodCallOnce($definition, 'setRepositoryFactory', ['repository_factory']); |
969 | 969 | } |
970 | 970 | |
971 | + /** |
|
972 | + * @param string $fixture |
|
973 | + */ |
|
971 | 974 | private function loadContainer($fixture, array $bundles = ['YamlBundle'], CompilerPassInterface $compilerPass = null) |
972 | 975 | { |
973 | 976 | $container = $this->getContainer($bundles); |
@@ -1018,6 +1021,10 @@ discard block |
||
1018 | 1021 | $this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '" . $definition->getClass() . "' don't match."); |
1019 | 1022 | } |
1020 | 1023 | |
1024 | + /** |
|
1025 | + * @param integer $pos |
|
1026 | + * @param string $methodName |
|
1027 | + */ |
|
1021 | 1028 | private function assertDICDefinitionMethodCallAt($pos, Definition $definition, $methodName, array $params = null) |
1022 | 1029 | { |
1023 | 1030 | $calls = $definition->getMethodCalls(); |
@@ -1057,6 +1064,9 @@ discard block |
||
1057 | 1064 | } |
1058 | 1065 | } |
1059 | 1066 | |
1067 | + /** |
|
1068 | + * @param string $methodName |
|
1069 | + */ |
|
1060 | 1070 | private function assertDICDefinitionMethodCallCount(Definition $definition, $methodName, array $params = [], $nbCalls = 1) |
1061 | 1071 | { |
1062 | 1072 | $calls = $definition->getMethodCalls(); |
@@ -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(); |