Skip to content

Commit

Permalink
Fix docblocks in CollectionTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Feb 3, 2014
1 parent 8f30b3a commit 2ccd417
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Collection/CollectionTrait.php
Expand Up @@ -255,7 +255,7 @@ public function reduce(callable $c, $zero) {
* ['Mark', 'Renan']
* }}}
*
* @param string $path a dot separated string symbolizing the path to follow
* @param string $matcher a dot separated string symbolizing the path to follow
* inside the hierarchy of each value so that the column can be extracted.
* @return \Cake\Collection\Iterator\ExtractIterator
*/
Expand All @@ -281,7 +281,7 @@ public function extract($matcher) {
* echo $max->name;
* }}}
*
* @param callable|string the callback or column name to use for sorting
* @param callable|string $callback the callback or column name to use for sorting
* @param integer $type the type of comparison to perform, either SORT_STRING
* SORT_NUMERIC or SORT_NATURAL
* @see \Cake\Collection\Collection::sortBy()
Expand Down Expand Up @@ -311,7 +311,7 @@ public function max($callback, $type = SORT_NUMERIC) {
* }}}
*
*
* @param callable|string the callback or column name to use for sorting
* @param callable|string $callback the callback or column name to use for sorting
* @param integer $type the type of comparison to perform, either SORT_STRING
* SORT_NUMERIC or SORT_NATURAL
* @see \Cake\Collection\Collection::sortBy()
Expand Down Expand Up @@ -352,7 +352,7 @@ public function min($callback, $type = SORT_NUMERIC) {
* }
* }}}
*
* @param callable|string the callback or column name to use for sorting
* @param callable|string $callback the callback or column name to use for sorting
* @param integer $dir either SORT_DESC or SORT_ASC
* @param integer $type the type of comparison to perform, either SORT_STRING
* SORT_NUMERIC or SORT_NATURAL
Expand Down Expand Up @@ -399,7 +399,7 @@ public function sortBy($callback, $dir = SORT_DESC, $type = SORT_NUMERIC) {
* ];
* }}}
*
* @param callable|string the callback or column name to use for grouping
* @param callable|string $callback the callback or column name to use for grouping
* or a function returning the grouping key out of the provided element
* @return \Cake\Collection\Collection
*/
Expand Down Expand Up @@ -445,7 +445,7 @@ public function groupBy($callback) {
* ];
* }}}
*
* @param callable|string the callback or column name to use for indexing
* @param callable|string $callback the callback or column name to use for indexing
* or a function returning the indexing key out of the provided element
* @return \Cake\Collection\Collection
*/
Expand Down Expand Up @@ -490,7 +490,7 @@ public function indexBy($callback) {
* ];
* }}}
*
* @param callable|string the callback or column name to use for indexing
* @param callable|string $callback the callback or column name to use for indexing
* or a function returning the indexing key out of the provided element
* @return \Cake\Collection\Collection
*/
Expand Down Expand Up @@ -618,7 +618,7 @@ public function first() {
* Returns a new collection as the result of concatenating the list of elements
* in this collection with the passed list of elements
*
* @param array|\Traversable
* @param array|\Traversable $items
* @return \Cake\Collection\Collection
*/
public function append($items) {
Expand Down

0 comments on commit 2ccd417

Please sign in to comment.