@@ -45,17 +45,17 @@ |
||
45 | 45 | use GanbaroDigital\MissingBits\ListTraversals\TraverseList; |
46 | 46 | use GanbaroDigital\MissingBits\ListTraversals\TraverseObject; |
47 | 47 | |
48 | - /** |
|
49 | - * traverse a list held in an array |
|
50 | - * |
|
51 | - * @param array $list |
|
52 | - * the list to walk |
|
53 | - * @param string $listName |
|
54 | - * what is the name of $list in the calling code? |
|
55 | - * @param callable $callable |
|
56 | - * what are we calling |
|
57 | - * @return void |
|
58 | - */ |
|
48 | + /** |
|
49 | + * traverse a list held in an array |
|
50 | + * |
|
51 | + * @param array $list |
|
52 | + * the list to walk |
|
53 | + * @param string $listName |
|
54 | + * what is the name of $list in the calling code? |
|
55 | + * @param callable $callable |
|
56 | + * what are we calling |
|
57 | + * @return void |
|
58 | + */ |
|
59 | 59 | function traverse_array($list, $listName, callable $callable) |
60 | 60 | { |
61 | 61 | return TraverseArray::using($list, $listName, $callable); |