Werdna has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192804

Change subject: Fix exception class name
......................................................................

Fix exception class name

Change-Id: I789a99b8bfdfc51661af6e261f5fb4ab16aaf39b
---
M autoload.php
M includes/WidgetFactory.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OOUIPlayground 
refs/changes/04/192804/1

diff --git a/autoload.php b/autoload.php
index 9725d95..de16af4 100644
--- a/autoload.php
+++ b/autoload.php
@@ -19,7 +19,7 @@
        'OOUIPlayground\\MultiGeSHICodeRenderer' => __DIR__ . 
'/includes/CodeRenderer.php',
        'OOUIPlayground\\MultiPreCodeRenderer' => __DIR__ . 
'/includes/CodeRenderer.php',
        'OOUIPlayground\\NoSuchWidgetException' => __DIR__ . 
'/includes/WidgetInfo.php',
-       'OOUIPlayground\\NoTypeGiven' => __DIR__ . 
'/includes/WidgetFactory.php',
+       'OOUIPlayground\\NoTypeGivenException' => __DIR__ . 
'/includes/WidgetFactory.php',
        'OOUIPlayground\\NullCodeRenderer' => __DIR__ . 
'/includes/CodeRenderer.php',
        'OOUIPlayground\\OOUILightNCandy' => __DIR__ . 
'/includes/OOUILightNCandy.php',
        'OOUIPlayground\\OOUIStatic' => __DIR__ . 
'/includes/OOUILightNCandy.php',
diff --git a/includes/WidgetFactory.php b/includes/WidgetFactory.php
index ed42a10..287340a 100644
--- a/includes/WidgetFactory.php
+++ b/includes/WidgetFactory.php
@@ -72,7 +72,7 @@
        }
 }
 
-class NoTypeGiven extends MWException {
+class NoTypeGivenException extends MWException {
        function __construct() {
                parent::__construct( "No widget name was provided in the 
configuration." );
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/192804
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I789a99b8bfdfc51661af6e261f5fb4ab16aaf39b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OOUIPlayground
Gerrit-Branch: master
Gerrit-Owner: Werdna <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to