Completed
Push — master ( b998d3...fe528a )
by Ryosuke
03:00
created
src/Internal/CoOption.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.