@@ -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) { |
@@ -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 | { |
@@ -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(); |
@@ -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(); |