@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | public function offsetGet($offset) |
89 | 89 | { |
90 | 90 | if (!isset($this->options[$offset])) { |
91 | - throw new \DomainException('Undefined field: ' + $offset); |
|
91 | + throw new \DomainException('Undefined field: ' +$offset); |
|
92 | 92 | } |
93 | 93 | return $this->options[$offset]; |
94 | 94 | } |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | if (!isset(self::$types[$key])) { |
126 | 126 | throw new \InvalidArgumentException("Unknown option: $key"); |
127 | 127 | } |
128 | - $validator = [__CLASS__, 'validate' . self::$types[$key]]; |
|
128 | + $validator = [__CLASS__, 'validate'.self::$types[$key]]; |
|
129 | 129 | $options[$key] = $validator($key, $value); |
130 | 130 | } |
131 | 131 | return $options; |