Index: trunk/extensions/SemanticMaps/SemanticMaps.hooks.php |
— | — | @@ -18,11 +18,11 @@ |
19 | 19 | * |
20 | 20 | * @since 0.7 |
21 | 21 | * |
22 | | - * @param array $admin_links_tree |
| 22 | + * @param ALTree $admin_links_tree |
23 | 23 | * |
24 | 24 | * @return true |
25 | 25 | */ |
26 | | - public static function addToAdminLinks( &$admin_links_tree ) { |
| 26 | + public static function addToAdminLinks( ALTree &$admin_links_tree ) { |
27 | 27 | $displaying_data_section = $admin_links_tree->getSection( wfMsg( 'smw_adminlinks_displayingdata' ) ); |
28 | 28 | |
29 | 29 | // Escape if SMW hasn't added links. |