Completed
Pull Request — master (#509)
by Pascal
03:02
created
DependencyInjection/Compiler/DoctrineOrmMappingsPass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
DependencyInjection/DoctrineExtension.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -730,6 +730,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Tests/Command/CreateDatabaseDoctrineTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 
48 48
     /**
49
-     * @param $connectionName
49
+     * @param string $connectionName
50 50
      * @param null $params Connection parameters
51 51
      * @return \PHPUnit_Framework_MockObject_MockObject
52 52
      */
Please login to merge, or discard this patch.
Tests/DependencyInjection/AbstractDoctrineExtensionTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -799,6 +799,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
Tests/DependencyInjection/DoctrineExtensionTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -498,6 +498,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
Twig/DoctrineExtension.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * Return a query with the parameters replaced
280 280
      *
281 281
      * @param string $query
282
-     * @param array  $parameters
282
+     * @param integer[]  $parameters
283 283
      *
284 284
      * @return string
285 285
      */
Please login to merge, or discard this patch.