Completed
Push — master ( 30d221...a59aba )
by Michal
99:41 queued 81:57
created
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.
vendor/cakephp/cakephp/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.
vendor/cakephp/cakephp/src/Filesystem/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * @param string|bool $bytes where to start
147 147
      * @param string $mode A `fread` compatible mode.
148 148
      * @param bool $force If true then the file will be re-opened even if its already opened, otherwise it won't
149
-     * @return mixed string on success, false on failure
149
+     * @return string|false string on success, false on failure
150 150
      */
151 151
     public function read($bytes = false, $mode = 'rb', $force = false)
152 152
     {
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * Get md5 Checksum of file with previous check of Filesize
370 370
      *
371
-     * @param int|bool $maxsize in MB or true to force
371
+     * @param integer $maxsize in MB or true to force
372 372
      * @return string|false md5 Checksum {@link http://php.net/md5_file See md5_file()}, or false in case of an error
373 373
      */
374 374
     public function md5($maxsize = 5)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Filesystem/Folder.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      *
104 104
      * @param string|null $path Path to folder
105 105
      * @param bool $create Create folder if not found
106
-     * @param int|bool $mode Mode (CHMOD) to apply to created folder, false to ignore
106
+     * @param integer $mode Mode (CHMOD) to apply to created folder, false to ignore
107 107
      */
108 108
     public function __construct($path = null, $create = false, $mode = false)
109 109
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      *
157 157
      * @param bool $sort Whether you want the results sorted, set this and the sort property
158 158
      *   to false to get unsorted results.
159
-     * @param array|bool $exceptions Either an array or boolean true will not grab dot files
159
+     * @param boolean $exceptions Either an array or boolean true will not grab dot files
160 160
      * @param bool $fullPath True returns the full path
161 161
      * @return mixed Contents of current directory as an array, an empty array on failure
162 162
      */
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      *
208 208
      * @param string $regexpPattern Preg_match pattern (Defaults to: .*)
209 209
      * @param bool $sort Whether results should be sorted.
210
-     * @return array Files that match given pattern
210
+     * @return string[] Files that match given pattern
211 211
      */
212 212
     public function find($regexpPattern = '.*', $sort = false)
213 213
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      * Returns an array of nested directories and files in each directory
449 449
      *
450 450
      * @param string|null $path the directory path to build the tree from
451
-     * @param array|bool $exceptions Either an array of files/folder to exclude
451
+     * @param boolean $exceptions Either an array of files/folder to exclude
452 452
      *   or boolean true to not grab dot files/folders
453 453
      * @param string|null $type either 'file' or 'dir'. Null returns both files and directories
454 454
      * @return mixed array of nested directories and files in each directory
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/I18n/Number.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     /**
220 220
      * Getter/setter for default currency
221 221
      *
222
-     * @param string|bool|null $currency Default currency string to be used by currency()
222
+     * @param string|boolean $currency Default currency string to be used by currency()
223 223
      * if $currency argument is not provided. If boolean false is passed, it will clear the
224 224
      * currently stored value
225 225
      * @return string Currency
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/I18n/TranslatorRegistry.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      *
179 179
      * @param string $name The translation package name.
180 180
      * @param string $locale The locale to create the translator for.
181
-     * @return \Aura\Intl\Translator
181
+     * @return \Closure
182 182
      */
183 183
     protected function _fallbackLoader($name, $locale)
184 184
     {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      * Returns a function that can be used as a loader for the registerLoaderMethod
204 204
      *
205
-     * @return callable
205
+     * @return \Closure
206 206
      */
207 207
     protected function _partialLoader()
208 208
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/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.