@@ -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(); |
@@ -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(); |
@@ -682,6 +682,7 @@ discard block |
||
| 682 | 682 | |
| 683 | 683 | /** |
| 684 | 684 | * {@inheritDoc} |
| 685 | + * @param string $name |
|
| 685 | 686 | */ |
| 686 | 687 | protected function getObjectManagerElementName($name) : string |
| 687 | 688 | { |
@@ -711,6 +712,7 @@ discard block |
||
| 711 | 712 | |
| 712 | 713 | /** |
| 713 | 714 | * {@inheritDoc} |
| 715 | + * @param string $cacheName |
|
| 714 | 716 | */ |
| 715 | 717 | protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheDriver, ContainerBuilder $container) : string |
| 716 | 718 | { |