Skip to content

Commit e2c3135

Browse files
authored
Update phpdoc in Collection.php (#1816)
* Update Collection.php Matched the phpdoc with the typehint from call_user_func * Update Collection.php
1 parent a5c176d commit e2c3135

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Varien/Data/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ public function clear()
449449
*
450450
* Returns array with results of callback for each item
451451
*
452-
* @param string $callback
452+
* @param callable $callback
453453
* @param array $args
454454
* @return array
455455
*/
@@ -470,7 +470,7 @@ public function walk($callback, array $args = array())
470470
}
471471

472472
/**
473-
* @param string $obj_method
473+
* @param callable $obj_method
474474
* @param array $args
475475
*/
476476
public function each($obj_method, $args = array())

0 commit comments

Comments
 (0)