Browse Source

Using integer instead of int

Jose Lorenzo Rodriguez 12 years ago
parent
commit
4057b3ed6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Collection/CollectionTrait.php

+ 1 - 1
src/Collection/CollectionTrait.php

@@ -893,7 +893,7 @@ trait CollectionTrait {
  * $flattenedIds = $collection->listNested()->extract('id'); // Yields [1, 2, 3, 4, 5]
  * }}}
  *
- * @param string|int $dir The direction in which to return the elements
+ * @param string|integer $dir The direction in which to return the elements
  * @param string|callable $nestingKey The key name under which children are nested
  * or a callable function that will return the children list
  * @return \Cake\Collection\Iterator\TreeIterator