Skip to content

Commit 66ae00d

Browse files
committed
change "callback" to "callable"
1 parent 5d563f3 commit 66ae00d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/Varien/Data/Collection/Filesystem.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ protected function _generateRow($filename)
386386
* @param string $field
387387
* @param mixed $value
388388
* @param string $type 'and'|'or'
389-
* @param callback $callback
389+
* @param callable $callback
390390
* @param bool $isInverted
391391
* @return $this
392392
*/
@@ -440,7 +440,7 @@ protected function _filterRow($row)
440440
* Invokes specified callback
441441
* Skips, if there is no filtered key in the row
442442
*
443-
* @param callback $callback
443+
* @param callable $callback
444444
* @param array $callbackParams
445445
* @return bool
446446
*/

lib/Varien/Object/Mapper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class Varien_Object_Mapper
4040
* <Varien_Object> => $from->setData($key, <from>)
4141
* array(<Varien_Object>, <method>) => $from->$method($key, <from>)
4242
*
43-
* @param array|Varien_Object|callback $from
44-
* @param array|Varien_Object|callback $to
43+
* @param array|Varien_Object|callable $from
44+
* @param array|Varien_Object|callable $to
4545
* @return array|Varien_Object
4646
*/
4747
public static function &accumulateByMap($from, $to, array $map, array $defaults = [])

0 commit comments

Comments
 (0)