@@ -80,7 +80,7 @@ |
||
80 | 80 | * |
81 | 81 | * @param array $properties |
82 | 82 | * |
83 | - * @return array |
|
83 | + * @return \ReflectionClass |
|
84 | 84 | */ |
85 | 85 | protected function prepareProperties(array $properties, $target = null) |
86 | 86 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | * |
81 | 81 | * @param array $properties |
82 | 82 | * |
83 | - * @return array |
|
83 | + * @return \ReflectionClass |
|
84 | 84 | */ |
85 | 85 | protected function prepareProperties(array $properties, $target = null) |
86 | 86 | { |
@@ -1101,7 +1101,7 @@ |
||
1101 | 1101 | |
1102 | 1102 | /** |
1103 | 1103 | * Returns MySQL column types (inherited and MySQL specified). |
1104 | - * @return array |
|
1104 | + * @return string[] |
|
1105 | 1105 | */ |
1106 | 1106 | public function getColumnTypes() |
1107 | 1107 | { |
@@ -592,6 +592,9 @@ |
||
592 | 592 | return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated); |
593 | 593 | } |
594 | 594 | |
595 | + /** |
|
596 | + * @param string $expected |
|
597 | + */ |
|
595 | 598 | protected function generateOutput($expected) |
596 | 599 | { |
597 | 600 | $count = substr_count($expected, "\n"); |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * @param mixed $other Value or object to evaluate. |
100 | 100 | * @param string $description Additional information about the test |
101 | 101 | * @param bool $returnResult Whether to return a result or throw an exception |
102 | - * @return mixed |
|
102 | + * @return boolean |
|
103 | 103 | * @throws PHPUnit_Framework_ExpectationFailedException |
104 | 104 | */ |
105 | 105 | public function evaluate($other, $description = '', $returnResult = false) |
@@ -436,7 +436,7 @@ |
||
436 | 436 | * Generates a safe key for use with cache engine storage engines. |
437 | 437 | * |
438 | 438 | * @param string $key the key passed over |
439 | - * @return mixed string $key or false |
|
439 | + * @return false|string string $key or false |
|
440 | 440 | */ |
441 | 441 | public function key($key) |
442 | 442 | { |
@@ -610,7 +610,7 @@ |
||
610 | 610 | * |
611 | 611 | * @param mixed $value The value to quote. |
612 | 612 | * @param string $type Type to be used for determining kind of quoting to perform |
613 | - * @return mixed quoted value |
|
613 | + * @return string quoted value |
|
614 | 614 | */ |
615 | 615 | public function quote($value, $type = null) |
616 | 616 | { |
@@ -278,7 +278,7 @@ |
||
278 | 278 | * Used by Cake\Schema package to reflect schema and |
279 | 279 | * generate schema. |
280 | 280 | * |
281 | - * @return \Cake\Database\Schema\MysqlSchema |
|
281 | + * @return SqlserverSchema |
|
282 | 282 | */ |
283 | 283 | public function schemaDialect() |
284 | 284 | { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | /** |
109 | 109 | * Returns a FunctionExpression representing a call to SQL COUNT function. |
110 | 110 | * |
111 | - * @param mixed $expression the function argument |
|
111 | + * @param string $expression the function argument |
|
112 | 112 | * @param array $types list of types to bind to the arguments |
113 | 113 | * @return FunctionExpression |
114 | 114 | */ |