From 4f487b7ccfb976b3be5a646bbee810a6256f68c1 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 29 Feb 2016 19:47:02 +0100 Subject: [PATCH] AbstractPicoPlugin: Fix typos in exception message --- lib/AbstractPicoPlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/AbstractPicoPlugin.php b/lib/AbstractPicoPlugin.php index cc6cf97..fcfd059 100644 --- a/lib/AbstractPicoPlugin.php +++ b/lib/AbstractPicoPlugin.php @@ -165,7 +165,7 @@ abstract class AbstractPicoPlugin implements PicoPluginInterface $plugin = $this->getPlugin($pluginName); } catch (RuntimeException $e) { throw new RuntimeException( - "Unable to enable plugin '" . get_called_class() . "':" + "Unable to enable plugin '" . get_called_class() . "': " . "Required plugin '" . $pluginName . "' not found" ); } @@ -177,13 +177,13 @@ abstract class AbstractPicoPlugin implements PicoPluginInterface $plugin->setEnabled(true, true, true); } else { throw new RuntimeException( - "Unable to enable plugin '" . get_called_class() . "':" + "Unable to enable plugin '" . get_called_class() . "': " . "Required plugin '" . $pluginName . "' was disabled manually" ); } } else { throw new RuntimeException( - "Unable to enable plugin '" . get_called_class() . "':" + "Unable to enable plugin '" . get_called_class() . "': " . "Required plugin '" . $pluginName . "' is disabled" ); }