Completed
Pull Request — master (#174)
by
unknown
01:49
created
src/AnnotationData.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             $this->offsetSet($key, $data + $default);
42 42
         }
43 43
         elseif (is_scalar($data)) {
44
-            $this->offsetSet($key, $data . $default);
44
+            $this->offsetSet($key, $data.$default);
45 45
         }
46 46
         return $this;
47 47
     }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,11 +36,9 @@
 block discarded – undo
36 36
         $data = $this->offsetGet($key);
37 37
         if (is_array($data)) {
38 38
             $this->offsetSet($key, array_merge($data, $default));
39
-        }
40
-        elseif (is_numeric($data)) {
39
+        } elseif (is_numeric($data)) {
41 40
             $this->offsetSet($key, $data + $default);
42
-        }
43
-        elseif (is_scalar($data)) {
41
+        } elseif (is_scalar($data)) {
44 42
             $this->offsetSet($key, $data . $default);
45 43
         }
46 44
         return $this;
Please login to merge, or discard this patch.