Werdna has submitted this change and it was merged.

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(-)

Approvals:
  Werdna: Verified; Looks good to me, approved



diff --git a/autoload.php b/autoload.php
index 6ee40ca..68d8c8f 100644
--- a/autoload.php
+++ b/autoload.php
@@ -16,7 +16,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\\ParserHooks' => __DIR__ . '/includes/ParserHooks.php',
        'OOUIPlayground\\PreCodeRenderer' => __DIR__ . 
'/includes/CodeRenderer.php',
diff --git a/includes/WidgetFactory.php b/includes/WidgetFactory.php
index 5bff766..26ac7b2 100644
--- a/includes/WidgetFactory.php
+++ b/includes/WidgetFactory.php
@@ -49,7 +49,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: merged
Gerrit-Change-Id: I789a99b8bfdfc51661af6e261f5fb4ab16aaf39b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OOUIPlayground
Gerrit-Branch: master
Gerrit-Owner: Werdna <[email protected]>
Gerrit-Reviewer: Werdna <[email protected]>

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

Reply via email to