Skip to content

Commit 6e50ae7

Browse files
committed
Doc block edit
- Edited doc block of the walk method in a Collection to reflect that this method will accept a callback
1 parent 13b8940 commit 6e50ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Data/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public function clear()
492492
*
493493
* Returns array with results of callback for each item
494494
*
495-
* @param string $callback
495+
* @param callable $callback
496496
* @param array $args
497497
* @return array
498498
*/

0 commit comments

Comments
 (0)