Completed
Push — master ( 3478cb...77f82c )
by Michal
21:25
created
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.
vendor/cakephp/cakephp/src/Network/Http/CookieCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * of name => value
78 78
      *
79 79
      * @param string $url The URL to find cookies for.
80
-     * @return array
80
+     * @return string
81 81
      */
82 82
     public function get($url)
83 83
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Network/Http/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
      *
315 315
      * @param string|null $name The name of the header you want. Leave
316 316
      *   null to get all headers.
317
-     * @return mixed Null when the header doesn't exist. An array
317
+     * @return string Null when the header doesn't exist. An array
318 318
      *   will be returned when getting all headers or when getting
319 319
      *   a header that had multiple values set. Otherwise a string
320 320
      *   will be returned.
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Network/Response.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -991,7 +991,7 @@  discard block
 block discarded – undo
991 991
      * `$response->expires(new DateTime('+1 day'))` Will set the expiration in next 24 hours
992 992
      * `$response->expires()` Will return the current expiration header value
993 993
      *
994
-     * @param string|\DateTime|null $time Valid time string or \DateTime instance.
994
+     * @param integer $time Valid time string or \DateTime instance.
995 995
      * @return string|null
996 996
      */
997 997
     public function expires($time = null)
@@ -1016,7 +1016,7 @@  discard block
 block discarded – undo
1016 1016
      * `$response->modified(new DateTime('+1 day'))` Will set the modification date in the past 24 hours
1017 1017
      * `$response->modified()` Will return the current Last-Modified header value
1018 1018
      *
1019
-     * @param string|\DateTime|null $time Valid time string or \DateTime instance.
1019
+     * @param string $time Valid time string or \DateTime instance.
1020 1020
      * @return string|null
1021 1021
      */
1022 1022
     public function modified($time = null)
@@ -1603,7 +1603,7 @@  discard block
 block discarded – undo
1603 1603
      * Stop execution of the current script. Wraps exit() making
1604 1604
      * testing easier.
1605 1605
      *
1606
-     * @param int|string $status See http://php.net/exit for values
1606
+     * @param integer $status See http://php.net/exit for values
1607 1607
      * @return void
1608 1608
      */
1609 1609
     public function stop($status = 0)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Network/Socket.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
      * established.
292 292
      *
293 293
      * @param int $length Optional buffer length to read; defaults to 1024
294
-     * @return mixed Socket data
294
+     * @return false|string Socket data
295 295
      */
296 296
     public function read($length = 1024)
297 297
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/ORM/Association.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      * arguments are passed, the current configured value is returned
251 251
      *
252 252
      * @param bool|null $cascadeCallbacks cascade callbacks switch value
253
-     * @return bool
253
+     * @return boolean|string
254 254
      */
255 255
     public function cascadeCallbacks($cascadeCallbacks = null)
256 256
     {
@@ -622,7 +622,7 @@  discard block
 block discarded – undo
622 622
      * @param mixed $conditions Conditions to be used, accepts anything Query::where()
623 623
      * can take.
624 624
      * @see \Cake\ORM\Table::updateAll()
625
-     * @return bool Success Returns true if one or more rows are affected.
625
+     * @return integer Success Returns true if one or more rows are affected.
626 626
      */
627 627
     public function updateAll($fields, $conditions)
628 628
     {
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
      *
640 640
      * @param mixed $conditions Conditions to be used, accepts anything Query::where()
641 641
      * can take.
642
-     * @return bool Success Returns true if one or more rows are affected.
642
+     * @return integer Success Returns true if one or more rows are affected.
643 643
      * @see \Cake\ORM\Table::deleteAll()
644 644
      */
645 645
     public function deleteAll($conditions)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/ORM/AssociationCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Get an array of associations matching a specific type.
113 113
      *
114
-     * @param string|array $class The type of associations you want.
114
+     * @param string $class The type of associations you want.
115 115
      *   For example 'BelongsTo' or array like ['BelongsTo', 'HasOne']
116 116
      * @return array An array of Association objects.
117 117
      */
Please login to merge, or discard this patch.