From 544a8c38cdc9a2ce9d8d2cf15de673ff9eadc311 Mon Sep 17 00:00:00 2001 From: Scott Bedard Date: Mon, 5 Sep 2016 08:35:43 -0700 Subject: [PATCH] Fixing a typo --- modules/system/classes/PluginBase.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/system/classes/PluginBase.php b/modules/system/classes/PluginBase.php index 68342f056..fbfe12c5c 100644 --- a/modules/system/classes/PluginBase.php +++ b/modules/system/classes/PluginBase.php @@ -17,7 +17,7 @@ class PluginBase extends ServiceProviderBase /** * @var boolean */ - protected $loadedYamlConfigration = false; + protected $loadedYamlConfiguration = false; /** * @var array Plugin dependencies @@ -219,8 +219,8 @@ class PluginBase extends ServiceProviderBase */ protected function getConfigurationFromYaml($exceptionMessage = null) { - if ($this->loadedYamlConfigration !== false) { - return $this->loadedYamlConfigration; + if ($this->loadedYamlConfiguration !== false) { + return $this->loadedYamlConfiguration; } $reflection = new ReflectionClass(get_class($this)); @@ -231,16 +231,16 @@ class PluginBase extends ServiceProviderBase throw new SystemException($exceptionMessage); } else { - $this->loadedYamlConfigration = []; + $this->loadedYamlConfiguration = []; } } else { - $this->loadedYamlConfigration = Yaml::parse(file_get_contents($yamlFilePath)); - if (!is_array($this->loadedYamlConfigration)) { + $this->loadedYamlConfiguration = Yaml::parse(file_get_contents($yamlFilePath)); + if (!is_array($this->loadedYamlConfiguration)) { throw new SystemException('Invalid format of the plugin configuration file: %s. The file should define an array.', $yamlFilePath); } } - return $this->loadedYamlConfigration; + return $this->loadedYamlConfiguration; } }