Completed
Pull Request — master (#772)
by Michael
02:09
created
ConnectionFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
DependencyInjection/Compiler/DoctrineOrmMappingsPass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
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
@@ -968,6 +968,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
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
@@ -725,6 +725,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.