Completed
Pull Request — master (#12914)
by
unknown
05:04
created
src/Cache/CacheEngine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      * Generates a safe key for use with cache engine storage engines.
239 239
      *
240 240
      * @param string $key the key passed over
241
-     * @return bool|string string key or false
241
+     * @return false|string string key or false
242 242
      */
243 243
     public function key($key)
244 244
     {
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      * Generates a safe key, taking account of the configured key prefix
260 260
      *
261 261
      * @param string $key the key passed over
262
-     * @return mixed string $key or false
262
+     * @return string string $key or false
263 263
      * @throws \InvalidArgumentException If key's value is empty
264 264
      */
265 265
     protected function _key($key)
Please login to merge, or discard this patch.
src/Collection/ExtractTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @param array $conditions A key-value list of conditions to match where the
120 120
      * key is the property path to get from the current item and the value is the
121 121
      * value to be compared the item with.
122
-     * @return callable
122
+     * @return \Closure
123 123
      */
124 124
     protected function _createMatcherFilter(array $conditions)
125 125
     {
Please login to merge, or discard this patch.
src/Console/ShellDispatcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
      * Check if a shell class exists for the given name.
317 317
      *
318 318
      * @param string $shell The shell name to look for.
319
-     * @return string|bool Either the classname or false.
319
+     * @return string|false Either the classname or false.
320 320
      */
321 321
     protected function _shellExists($shell)
322 322
     {
Please login to merge, or discard this patch.
src/Database/Expression/Comparison.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
      * with the placeholder $generator
175 175
      *
176 176
      * @param \Cake\Database\ValueBinder $generator The value binder to use.
177
-     * @return array First position containing the template and the second a placeholder
177
+     * @return string[] First position containing the template and the second a placeholder
178 178
      */
179 179
     protected function _stringExpression($generator)
180 180
     {
Please login to merge, or discard this patch.
src/Database/QueryCompiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      *
88 88
      * @param \Cake\Database\Query $query The query that is being compiled
89 89
      * @param \Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
90
-     * @return \Closure
90
+     * @return string
91 91
      */
92 92
     public function compile(Query $query, ValueBinder $generator)
93 93
     {
Please login to merge, or discard this patch.
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.
src/Datasource/EntityTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
      * Returns the value of an original property by name
291 291
      *
292 292
      * @param string $property the name of the property for which original value is retrieved.
293
-     * @return mixed
293
+     * @return string
294 294
      * @throws \InvalidArgumentException if an empty property name is passed.
295 295
      */
296 296
     public function getOriginal($property)
Please login to merge, or discard this patch.
src/Log/Engine/BaseLog.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * can optionally be used by log engines to interpolate variables
85 85
      * or add additional info to the logged message.
86 86
      *
87
-     * @param mixed $data The data to be converted to string and logged.
87
+     * @param string $data The data to be converted to string and logged.
88 88
      * @param array $context Additional logging information for the message.
89 89
      * @return string
90 90
      */
Please login to merge, or discard this patch.
src/ORM/Table.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
      * composite keys when comparing values.
1102 1102
      *
1103 1103
      * @param array $options the original options passed to a finder
1104
-     * @param array $keys the keys to check in $options to build matchers from
1104
+     * @param string[] $keys the keys to check in $options to build matchers from
1105 1105
      * the associated value
1106 1106
      * @return array
1107 1107
      */
@@ -1770,7 +1770,7 @@  discard block
 block discarded – undo
1770 1770
      *
1771 1771
      * @param string $method The method name that was fired.
1772 1772
      * @param array $args List of arguments passed to the function.
1773
-     * @return mixed
1773
+     * @return Query
1774 1774
      * @throws \BadMethodCallException when there are missing arguments, or when
1775 1775
      *  and & or are combined.
1776 1776
      */
Please login to merge, or discard this patch.