diff --git a/PHPCI/Plugin/PhpMessDetector.php b/PHPCI/Plugin/PhpMessDetector.php
index <HASH>..<HASH> 100755
--- a/PHPCI/Plugin/PhpMessDetector.php
+++ b/PHPCI/Plugin/PhpMessDetector.php
@@ -115,7 +115,7 @@ class PhpMessDetector implements \PHPCI\Plugin
 
     protected function overrideSetting($options, $key)
     {
-        if (isset($options[$key]) && is_array($options['key'])) {
+        if (isset($options[$key]) && is_array($options[$key])) {
             $this->{$key} = $options[$key];
         }
     }
Fix bug where options could not be overridden in PHPMessdetector plugin