Skip to content

Commit 4e1c5ed

Browse files
committed
Remove dead StringObject class
1 parent 30c815b commit 4e1c5ed

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed

src/Runtime.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,7 @@ public static function merge(mixed $a, mixed $b): mixed
333333
return $b;
334334
} elseif (is_array($a)) {
335335
return array_replace($a, $b);
336-
} else {
337-
if (!is_object($a)) {
338-
$a = new StringObject($a);
339-
}
336+
} elseif (is_object($a)) {
340337
foreach ($b as $i => $v) {
341338
$a->$i = $v;
342339
}

src/StringObject.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)