r110177 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/extensions/Maps/Maps.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( array &$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