LocalSettingsGenerator: Fix typo in exception message
authorHoto Cocoa <cocoa@hoto.us>
Thu, 7 Dec 2017 06:06:13 +0000 (15:06 +0900)
committerLegoktm <legoktm@member.fsf.org>
Thu, 7 Dec 2017 06:19:04 +0000 (06:19 +0000)
Change-Id: I61fe67468eec659f312fb9aa4c20ec9bf083e78b

includes/installer/LocalSettingsGenerator.php

index bdaeaca..b4ef49d 100644 (file)
@@ -185,7 +185,7 @@ class LocalSettingsGenerator {
                        $jsonFile = 'skin.json';
                        $function = 'wfLoadSkin';
                } else {
                        $jsonFile = 'skin.json';
                        $function = 'wfLoadSkin';
                } else {
-                       throw new InvalidArgumentException( '$dir was not "extensions" or "skins' );
+                       throw new InvalidArgumentException( '$dir was not "extensions" or "skins"' );
                }
 
                $encName = self::escapePhpString( $name );
                }
 
                $encName = self::escapePhpString( $name );