Completed
Push — 2.0 ( 4d28bc...077d36 )
by Christopher
02:17
created
plugins/CMS/src/Model/Behavior/SluggableBehavior.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      *
179 179
      * @param string $string Input string in UTF-8
180 180
      * @param string $trimChars Characters to trim off
181
-     * @return trimmed string
181
+     * @return string string
182 182
      */
183 183
     protected function _mbTrim($string, $trimChars = '\s')
184 184
     {
Please login to merge, or discard this patch.
plugins/Installer/src/Utility/DatabaseInstaller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     /**
201 201
      * Generates a new connection to DB.
202 202
      *
203
-     * @return \Cake\Database\Connection|bool A connection object, or false on
203
+     * @return Connection A connection object, or false on
204 204
      *  failure. On failure error messages are automatically set
205 205
      */
206 206
     public function getConn()
Please login to merge, or discard this patch.
plugins/User/src/Model/Table/AcosTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      *
83 83
      * The above array is equivalent to: `PluginName/Admin/Users/index`
84 84
      *
85
-     * @param string|array $ref ACO path as described above
85
+     * @param string $ref ACO path as described above
86 86
      * @return \Cake\ORM\Query|bool False if not found or query result if found
87 87
      */
88 88
     public function node($ref)
Please login to merge, or discard this patch.
plugins/User/src/Utility/AcoManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@
 block discarded – undo
373 373
      *
374 374
      * @param string $aco An ACO path to parse
375 375
      * @param bool $string Indicates if it should return a string format path (/Controller/action)
376
-     * @return bool|array|string An array as described above or false if an invalid $aco was given
376
+     * @return string An array as described above or false if an invalid $aco was given
377 377
      */
378 378
     protected function _parseAco($aco, $string = true)
379 379
     {
Please login to merge, or discard this patch.
plugins/CMS/config/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
      * Returns a list of all registered event listeners within the provided event
416 416
      * manager, or within the global manager if not provided.
417 417
      *
418
-     * @param \Cake\Event\EventManager\null $manager Event manager instance, or null
418
+     * @param EventManager $manager Event manager instance, or null
419 419
      *  to use global manager instance.
420 420
      * @return array
421 421
      */
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
      *
510 510
      * @param string $localeId Locale code. e.g. "en_NZ" (or "en-NZ") for
511 511
      *  "English New Zealand"
512
-     * @return array Array with 2 indexes. 0 => language code, 1 => country code.
512
+     * @return string[] Array with 2 indexes. 0 => language code, 1 => country code.
513 513
      */
514 514
     function localeSplit($localeId)
515 515
     {
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
      * // out: aAABBBCCC
632 632
      * ```
633 633
      *
634
-     * @param string|array $search The value being searched for
634
+     * @param string|null $search The value being searched for
635 635
      * @param string $replace The replacement value that replaces found search value
636 636
      * @param string $subject The string being searched and replaced on
637 637
      * @return string A string with the replaced value
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
      * // out: AAaBBBCCC
664 664
      * ```
665 665
      *
666
-     * @param string|array $search The value being searched for
666
+     * @param string $search The value being searched for
667 667
      * @param string $replace The replacement value that replaces found search value
668 668
      * @param string $subject The string being searched and replaced on
669 669
      * @return string A string with the replaced value
Please login to merge, or discard this patch.
plugins/Eav/src/Model/Behavior/EavBehavior.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -621,7 +621,7 @@
 block discarded – undo
621 621
      * Prepares entity's cache-columns (those defined using `cache` option).
622 622
      *
623 623
      * @param \Cake\Datasource\EntityInterface $entity The entity to prepare
624
-     * @return \Cake\Datasource\EntityInterfa Modified entity
624
+     * @return EntityInterface Modified entity
625 625
      */
626 626
     protected function _prepareCachedColumns(EntityInterface $entity)
627 627
     {
Please login to merge, or discard this patch.
plugins/Field/src/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * @param array $options Options given as an array
118 118
      * @param bool $primary Whether this event was triggered as part of a primary
119 119
      *  find query or not
120
-     * @return mixed
120
+     * @return boolean
121 121
      */
122 122
     public function beforeFind(Field $field, array $options, $primary)
123 123
     {
Please login to merge, or discard this patch.
plugins/User/src/Auth/FormAuthenticate.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
      * Removes "remember me" cookie.
89 89
      *
90
-     * @param array $event User information given as an array
90
+     * @param Event $event User information given as an array
91 91
      * @return void
92 92
      */
93 93
     public function logout(Event $event, array $user)
Please login to merge, or discard this patch.
plugins/Search/src/Engine/Generic/GenericEngine.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
      * Scopes the given query using the given operator token.
315 315
      *
316 316
      * @param \Cake\ORM\Query $query The query to scope
317
-     * @param \Search\Token $token Token describing an operator. e.g `-op_name:op_value`
317
+     * @param TokenInterface $token Token describing an operator. e.g `-op_name:op_value`
318 318
      * @return \Cake\ORM\Query Scoped query
319 319
      */
320 320
     protected function _scopeOperator(Query $query, TokenInterface $token)
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
      * Scopes the given query using the given words token.
327 327
      *
328 328
      * @param \Cake\ORM\Query $query The query to scope
329
-     * @param \Search\TokenInterface $token Token describing a words sequence. e.g `this is a phrase`
329
+     * @param TokenInterface $token Token describing a words sequence. e.g `this is a phrase`
330 330
      * @return \Cake\ORM\Query Scoped query
331 331
      */
332 332
     protected function _scopeWords(Query $query, TokenInterface $token)
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * Similar to "_scopeWords" but using MySQL's fulltext indexes.
360 360
      *
361 361
      * @param \Cake\ORM\Query $query The query to scope
362
-     * @param \Search\TokenInterface $token Token describing a words sequence. e.g `this is a phrase`
362
+     * @param TokenInterface $token Token describing a words sequence. e.g `this is a phrase`
363 363
      * @return \Cake\ORM\Query Scoped query
364 364
      */
365 365
     protected function _scopeWordsInFulltext(Query $query, TokenInterface $token)
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
     /**
390 390
      * Whether FullText index is available or not and should be used.
391 391
      *
392
-     * @return bool True if enabled and should be used, false otherwise
392
+     * @return null|boolean True if enabled and should be used, false otherwise
393 393
      */
394 394
     protected function _isFullTextEnabled()
395 395
     {
Please login to merge, or discard this patch.