Completed
Pull Request — master (#97)
by Deven
18:18
created
vendor/cakephp/cakephp/src/Core/Configure.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
      * @param string $key name of configuration resource to load.
254 254
      * @param string $config Name of the configured engine to use to read the resource identified by $key.
255 255
      * @param bool $merge if config files should be merged instead of simply overridden
256
-     * @return mixed false if file not found, void if load successful.
256
+     * @return boolean false if file not found, void if load successful.
257 257
      * @link http://book.cakephp.org/3.0/en/development/configuration.html#reading-and-writing-configuration-files
258 258
      */
259 259
     public static function load($key, $config = 'default', $merge = true)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Database/Connection.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
     /**
577 577
      * Checks if a transaction is running.
578 578
      *
579
-     * @return bool True if a transaction is running else false.
579
+     * @return integer True if a transaction is running else false.
580 580
      */
581 581
     public function inTransaction()
582 582
     {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
      *
589 589
      * @param mixed $value The value to quote.
590 590
      * @param string $type Type to be used for determining kind of quoting to perform
591
-     * @return mixed quoted value
591
+     * @return string quoted value
592 592
      */
593 593
     public function quote($value, $type = null)
594 594
     {
@@ -623,7 +623,7 @@  discard block
 block discarded – undo
623 623
      *
624 624
      * @param bool $enable whether to turn logging on or disable it.
625 625
      *   Use null to read current value.
626
-     * @return bool
626
+     * @return boolean|null
627 627
      */
628 628
     public function logQueries($enable = null)
629 629
     {
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
      * it returns the currently setup logger instance.
654 654
      *
655 655
      * @param object $instance logger object instance
656
-     * @return object logger instance
656
+     * @return QueryLogger|null logger instance
657 657
      */
658 658
     public function logger($instance = null)
659 659
     {
Please login to merge, or discard this patch.
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/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/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.