@@ -45,11 +45,17 @@ |
||
45 | 45 | return $this->getMockWithoutArguments('Doctrine\DBAL\Schema\Table'); |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $className |
|
50 | + */ |
|
48 | 51 | private function getMockWithoutArguments($className) |
49 | 52 | { |
50 | 53 | return $this->getMockBuilder($className)->disableOriginalConstructor()->getMock(); |
51 | 54 | } |
52 | 55 | |
56 | + /** |
|
57 | + * @param string $name |
|
58 | + */ |
|
53 | 59 | private function getStubKeyConstraint($name) |
54 | 60 | { |
55 | 61 | $constraint = $this->getMockWithoutArguments('Doctrine\DBAL\Schema\ForeignKeyConstraint'); |
@@ -83,6 +83,9 @@ |
||
83 | 83 | $sm->selectShard(null); |
84 | 84 | } |
85 | 85 | |
86 | + /** |
|
87 | + * @return \Doctrine\DBAL\Connection |
|
88 | + */ |
|
86 | 89 | private function createConnection(array $params) |
87 | 90 | { |
88 | 91 | $conn = $this->getMockBuilder('Doctrine\DBAL\Connection') |