@@ -48,6 +48,7 @@ |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * {@inheritdoc} |
51 | + * @param string|null $value |
|
51 | 52 | */ |
52 | 53 | public function convertToPHPValue($value, AbstractPlatform $platform) |
53 | 54 | { |
@@ -39,6 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * {@inheritdoc} |
42 | + * @param null|\DateTime $value |
|
42 | 43 | */ |
43 | 44 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
44 | 45 | { |
@@ -39,6 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * {@inheritdoc} |
42 | + * @param null|\DateTime $value |
|
42 | 43 | */ |
43 | 44 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
44 | 45 | { |
@@ -39,6 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * {@inheritdoc} |
42 | + * @param null|\DateTime $value |
|
42 | 43 | */ |
43 | 44 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
44 | 45 | { |
@@ -39,6 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * {@inheritdoc} |
42 | + * @param null|\DateTime $value |
|
42 | 43 | */ |
43 | 44 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
44 | 45 | { |
@@ -71,6 +71,9 @@ discard block |
||
71 | 71 | $this->assertBinaryContains('test2'); |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $text |
|
76 | + */ |
|
74 | 77 | private function assertBinaryContains($text) |
75 | 78 | { |
76 | 79 | $rows = $this->_conn->fetchAll('SELECT * FROM blob_table'); |
@@ -84,6 +87,9 @@ discard block |
||
84 | 87 | $this->assertEquals($text, stream_get_contents($blobValue)); |
85 | 88 | } |
86 | 89 | |
90 | + /** |
|
91 | + * @param string $text |
|
92 | + */ |
|
87 | 93 | private function assertBlobContains($text) |
88 | 94 | { |
89 | 95 | $rows = $this->_conn->fetchAll('SELECT * FROM blob_table'); |
@@ -184,6 +184,9 @@ discard block |
||
184 | 184 | $this->assertEquals(1, count($secondCache->fetch("emptycachekey"))); |
185 | 185 | } |
186 | 186 | |
187 | + /** |
|
188 | + * @param \Doctrine\DBAL\Driver\Statement $stmt |
|
189 | + */ |
|
187 | 190 | private function hydrateStmt($stmt, $fetchMode = \PDO::FETCH_ASSOC) |
188 | 191 | { |
189 | 192 | $data = array(); |
@@ -194,6 +197,9 @@ discard block |
||
194 | 197 | return $data; |
195 | 198 | } |
196 | 199 | |
200 | + /** |
|
201 | + * @param \Doctrine\DBAL\Driver\Statement $stmt |
|
202 | + */ |
|
197 | 203 | private function hydrateStmtIterator($stmt, $fetchMode = \PDO::FETCH_ASSOC) |
198 | 204 | { |
199 | 205 | $data = array(); |
@@ -857,6 +857,9 @@ discard block |
||
857 | 857 | return $table; |
858 | 858 | } |
859 | 859 | |
860 | + /** |
|
861 | + * @param string $name |
|
862 | + */ |
|
860 | 863 | protected function getTestTable($name, $options=array()) |
861 | 864 | { |
862 | 865 | $table = new Table($name, array(), array(), array(), false, $options); |
@@ -868,6 +871,9 @@ discard block |
||
868 | 871 | return $table; |
869 | 872 | } |
870 | 873 | |
874 | + /** |
|
875 | + * @param string $name |
|
876 | + */ |
|
871 | 877 | protected function getTestCompositeTable($name) |
872 | 878 | { |
873 | 879 | $table = new Table($name, array(), array(), array(), false, array()); |
@@ -879,6 +885,10 @@ discard block |
||
879 | 885 | return $table; |
880 | 886 | } |
881 | 887 | |
888 | + /** |
|
889 | + * @param Table[] $tables |
|
890 | + * @param string $tableName |
|
891 | + */ |
|
882 | 892 | protected function assertHasTable($tables, $tableName) |
883 | 893 | { |
884 | 894 | $foundTable = false; |
@@ -273,6 +273,10 @@ discard block |
||
273 | 273 | } |
274 | 274 | } |
275 | 275 | |
276 | + /** |
|
277 | + * @param integer $value1 |
|
278 | + * @param integer $value2 |
|
279 | + */ |
|
276 | 280 | protected function getBitAndComparisonExpressionSql($value1, $value2) |
277 | 281 | { |
278 | 282 | return '(' . $value1 . ' & ' . $value2 . ')'; |
@@ -287,6 +291,10 @@ discard block |
||
287 | 291 | $this->assertEquals($this->getBitAndComparisonExpressionSql(2, 4), $sql); |
288 | 292 | } |
289 | 293 | |
294 | + /** |
|
295 | + * @param integer $value1 |
|
296 | + * @param integer $value2 |
|
297 | + */ |
|
290 | 298 | protected function getBitOrComparisonExpressionSql($value1, $value2) |
291 | 299 | { |
292 | 300 | return '(' . $value1 . ' | ' . $value2 . ')'; |