r110178 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110177‎ | r110178 | r110179 >
Date:22:16, 27 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
add type check
Modified paths:
  • /trunk/extensions/SemanticMaps/SemanticMaps.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/SemanticMaps.hooks.php
@@ -18,11 +18,11 @@
1919 *
2020 * @since 0.7
2121 *
22 - * @param array $admin_links_tree
 22+ * @param ALTree $admin_links_tree
2323 *
2424 * @return true
2525 */
26 - public static function addToAdminLinks( &$admin_links_tree ) {
 26+ public static function addToAdminLinks( ALTree &$admin_links_tree ) {
2727 $displaying_data_section = $admin_links_tree->getSection( wfMsg( 'smw_adminlinks_displayingdata' ) );
2828
2929 // Escape if SMW hasn't added links.

Status & tagging log