Completed
Pull Request — master (#96)
by Deven
28:46
created
vendor/cakephp/cakephp/src/Database/Dialect/SqlserverDialectTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
      * Used by Cake\Schema package to reflect schema and
247 247
      * generate schema.
248 248
      *
249
-     * @return \Cake\Database\Schema\MysqlSchema
249
+     * @return \Cake\Database\Schema\SqlserverSchema
250 250
      */
251 251
     public function schemaDialect()
252 252
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Expression/Comparison.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
      * with the placeholder $generator
160 160
      *
161 161
      * @param \Cake\Database\ValueBinder $generator The value binder to use.
162
-     * @return array First position containing the template and the second a placeholder
162
+     * @return string[] First position containing the template and the second a placeholder
163 163
      */
164 164
     protected function _stringExpression($generator)
165 165
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Expression/QueryExpression.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -644,7 +644,7 @@
 block discarded – undo
644 644
      * @param string $field Database field to be used to bind values
645 645
      * @param array $values The values to bind
646 646
      * @param string $type the type to be used to bind the values
647
-     * @return array
647
+     * @return string
648 648
      */
649 649
     protected function _bindMultiplePlaceholders($field, $values, $type)
650 650
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Log/LoggingStatement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      * Sets the logger object instance. When called with no arguments
108 108
      * it returns the currently setup logger instance
109 109
      *
110
-     * @param object|null $instance Logger object instance.
110
+     * @param QueryLogger|null $instance Logger object instance.
111 111
      * @return object Logger instance
112 112
      */
113 113
     public function logger($instance = null)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Query.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * When called with a null argument, it will return the current connection instance.
140 140
      *
141 141
      * @param \Cake\Database\Connection $connection instance
142
-     * @return $this|\Cake\Database\Connection
142
+     * @return Connection
143 143
      */
144 144
     public function connection($connection = null)
145 145
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      * This method can be overridden in query subclasses to decorate behavior
170 170
      * around query execution.
171 171
      *
172
-     * @return \Cake\Database\StatementInterface
172
+     * @return string|null
173 173
      */
174 174
     public function execute()
175 175
     {
@@ -1481,7 +1481,7 @@  discard block
 block discarded – undo
1481 1481
      * iterated without having to call execute() manually, thus making it look like
1482 1482
      * a result set instead of the query itself.
1483 1483
      *
1484
-     * @return \Iterator
1484
+     * @return StatementInterface
1485 1485
      */
1486 1486
     public function getIterator()
1487 1487
     {
@@ -1578,7 +1578,7 @@  discard block
 block discarded – undo
1578 1578
      *
1579 1579
      * @param callable $callback the function to be executed for each ExpressionInterface
1580 1580
      *   found inside this query.
1581
-     * @return void|$this
1581
+     * @return Query
1582 1582
      */
1583 1583
     public function traverseExpressions(callable $callback)
1584 1584
     {
@@ -1632,7 +1632,7 @@  discard block
 block discarded – undo
1632 1632
      *
1633 1633
      * @param \Cake\Database\ValueBinder $binder new instance to be set. If no value is passed the
1634 1634
      *   default one will be returned
1635
-     * @return $this|\Cake\Database\ValueBinder
1635
+     * @return ValueBinder|null
1636 1636
      */
1637 1637
     public function valueBinder($binder = null)
1638 1638
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/QueryCompiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      *
91 91
      * @param \Cake\Database\Query $query The query that is being compiled
92 92
      * @param \Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
93
-     * @return \Closure
93
+     * @return string
94 94
      */
95 95
     public function compile(Query $query, ValueBinder $generator)
96 96
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      * Generate the SQL to drop a table.
113 113
      *
114 114
      * @param \Cake\Database\Schema\Table $table Table instance
115
-     * @return array SQL statements to drop a table.
115
+     * @return string[] SQL statements to drop a table.
116 116
      */
117 117
     public function dropTableSql(Table $table)
118 118
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      *
165 165
      * @param string $tableName Table name.
166 166
      * @param array $config The connection configuration.
167
-     * @return array SQL statements to get options for a table.
167
+     * @return string[] SQL statements to get options for a table.
168 168
      */
169 169
     public function describeOptionsSql($tableName, $config)
170 170
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/SqlDialectTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      *
82 82
      * @param string $type the type of query to be transformed
83 83
      * (select, insert, update, delete)
84
-     * @return callable
84
+     * @return \Closure
85 85
      */
86 86
     public function queryTranslator($type)
87 87
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Type.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * If called with no arguments it will return current types map array
123 123
      * If $className is omitted it will return mapped class for $type
124 124
      *
125
-     * @param string|array|null $type if string name of type to map, if array list of arrays to be mapped
125
+     * @param string $type if string name of type to map, if array list of arrays to be mapped
126 126
      * @param string|null $className The classname to register.
127 127
      * @return array|string|null if $type is null then array with current map, if $className is null string
128 128
      * configured class name for give $type, null otherwise
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * Casts given value from a database type to PHP equivalent
193 193
      *
194
-     * @param mixed $value value to be converted to PHP equivalent
194
+     * @param string $value value to be converted to PHP equivalent
195 195
      * @param Driver $driver object from which database preferences and configuration will be extracted
196 196
      * @return mixed
197 197
      */
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      * Will convert values into strings
265 265
      *
266 266
      * @param mixed $value The value to convert to a string.
267
-     * @return bool
267
+     * @return string
268 268
      */
269 269
     public static function strval($value)
270 270
     {
Please login to merge, or discard this patch.