@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $validator = ConfigValidator::getInstance(); |
54 | 54 | |
55 | 55 | if (!$validator->validate($this->data, $this->getContextRules(), $this->extraFieldsAllowed)) { |
56 | - throw new ConfigurationException('Config is not valid for ' . ($contextObject ? get_class($contextObject) : null) . "\n" . implode("\n", $validator->getErrorsArray(false))); |
|
56 | + throw new ConfigurationException('Config is not valid for '.($contextObject ? get_class($contextObject) : null)."\n".implode("\n", $validator->getErrorsArray(false))); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | $this->build(); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } elseif (substr($method, 0, 2) == 'is') { |
127 | 127 | $propertyName = lcfirst(substr($method, 2)); |
128 | 128 | } else { |
129 | - throw new \Exception('Call to undefined method ' . $method); |
|
129 | + throw new \Exception('Call to undefined method '.$method); |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | return $this->get($propertyName); |