| @@ -30,7 +30,7 @@ discard block | ||
| 30 | 30 | * You should not directly instantiate this class but use one of the | 
| 31 | 31 | * factory methods. | 
| 32 | 32 | * | 
| 33 | - * @param Definition|Reference $driver Driver DI definition or reference. | |
| 33 | + * @param Definition $driver Driver DI definition or reference. | |
| 34 | 34 | * @param array $namespaces List of namespaces handled by $driver. | 
| 35 | 35 | * @param string[] $managerParameters Ordered list of container parameters that | 
| 36 | 36 | * could hold the manager name. | 
| @@ -39,7 +39,7 @@ discard block | ||
| 39 | 39 | * @param string|false $enabledParameter If specified, the compiler pass only executes | 
| 40 | 40 | * if this parameter is defined in the service | 
| 41 | 41 | * container. | 
| 42 | - * @param array $aliasMap Map of alias to namespace. | |
| 42 | + * @param string[] $aliasMap Map of alias to namespace. | |
| 43 | 43 | */ | 
| 44 | 44 | public function __construct($driver, array $namespaces, array $managerParameters, $enabledParameter = false, array $aliasMap = array()) | 
| 45 | 45 |      { | 
| @@ -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 |      { | 
| @@ -799,6 +799,9 @@ discard block | ||
| 799 | 799 |          $this->assertDICDefinitionMethodCallOnce($definition, 'setRepositoryFactory', array('repository_factory')); | 
| 800 | 800 | } | 
| 801 | 801 | |
| 802 | + /** | |
| 803 | + * @param string $fixture | |
| 804 | + */ | |
| 802 | 805 |      private function loadContainer($fixture, array $bundles = array('YamlBundle'), CompilerPassInterface $compilerPass = null) | 
| 803 | 806 |      { | 
| 804 | 807 | $container = $this->getContainer($bundles); | 
| @@ -849,6 +852,10 @@ discard block | ||
| 849 | 852 | $this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '".$definition->getClass()."' don't match."); | 
| 850 | 853 | } | 
| 851 | 854 | |
| 855 | + /** | |
| 856 | + * @param integer $pos | |
| 857 | + * @param string $methodName | |
| 858 | + */ | |
| 852 | 859 | private function assertDICDefinitionMethodCallAt($pos, Definition $definition, $methodName, array $params = null) | 
| 853 | 860 |      { | 
| 854 | 861 | $calls = $definition->getMethodCalls(); | 
| @@ -889,6 +896,9 @@ discard block | ||
| 889 | 896 | } | 
| 890 | 897 | } | 
| 891 | 898 | |
| 899 | + /** | |
| 900 | + * @param string $methodName | |
| 901 | + */ | |
| 892 | 902 | private function assertDICDefinitionMethodCallCount(Definition $definition, $methodName, array $params = array(), $nbCalls = 1) | 
| 893 | 903 |      { | 
| 894 | 904 | $calls = $definition->getMethodCalls(); | 
| @@ -498,6 +498,9 @@ discard block | ||
| 498 | 498 |          $this->assertEquals('doctrine_cache.providers.result_cache', (string) $alias); | 
| 499 | 499 | } | 
| 500 | 500 | |
| 501 | + /** | |
| 502 | + * @param string $vendor | |
| 503 | + */ | |
| 501 | 504 | private function getContainer($bundles = 'YamlBundle', $vendor = null) | 
| 502 | 505 |      { | 
| 503 | 506 | $bundles = (array) $bundles; | 
| @@ -523,6 +526,10 @@ discard block | ||
| 523 | 526 | $this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '".$definition->getClass()."' don't match."); | 
| 524 | 527 | } | 
| 525 | 528 | |
| 529 | + /** | |
| 530 | + * @param integer $pos | |
| 531 | + * @param string $methodName | |
| 532 | + */ | |
| 526 | 533 | private function assertDICDefinitionMethodCallAt($pos, Definition $definition, $methodName, array $params = null) | 
| 527 | 534 |      { | 
| 528 | 535 | $calls = $definition->getMethodCalls(); | 
| @@ -32,7 +32,7 @@ discard block | ||
| 32 | 32 | /** | 
| 33 | 33 | * Define our functions | 
| 34 | 34 | * | 
| 35 | - * @return array | |
| 35 | + * @return \Twig_SimpleFilter[] | |
| 36 | 36 | */ | 
| 37 | 37 | public function getFilters() | 
| 38 | 38 |      { | 
| @@ -91,7 +91,7 @@ discard block | ||
| 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 |