Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/279765
Change subject: Test
......................................................................
Test
Change-Id: I2a3ef86561215cbedc6404a7e5c7e092554ec9b2
---
M includes/formatters/NotificationFormatter.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/65/279765/1
diff --git a/includes/formatters/NotificationFormatter.php
b/includes/formatters/NotificationFormatter.php
index b7406d4..72f38f0 100644
--- a/includes/formatters/NotificationFormatter.php
+++ b/includes/formatters/NotificationFormatter.php
@@ -131,7 +131,7 @@
* @param string $dir either 'ltr' or 'rtl'
* @return string
*/
- public static function getIconUrl( $icon, $dir ) {
+ public static function getIconUrl( array $icon, $dir ) {
global $wgEchoNotificationIcons, $wgExtensionAssetsPath;
if ( !isset( $wgEchoNotificationIcons[$icon] ) ) {
throw new InvalidArgumentException( "The $icon icon is
not registered" );
--
To view, visit https://gerrit.wikimedia.org/r/279765
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a3ef86561215cbedc6404a7e5c7e092554ec9b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits