Skip to content

Commit a8a9c77

Browse files
committed
Fixes props.
1 parent 938f1bc commit a8a9c77

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Element.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ public function __construct($value = null) {
2121
$parent_class = get_parent_class(get_called_class());
2222
if ($parent_class && $parent_class !== 'Locker\XApi\Atom') {
2323
$parent_instance = new $parent_class;
24-
$this->props = array_unique(
25-
array_merge($parent_instance->props, $this->props)
26-
);
24+
$this->props = array_merge($parent_instance->props, $this->props);
2725
$this->required_props = array_unique(
2826
array_merge($parent_instance->required_props, $this->required_props)
2927
);

0 commit comments

Comments
 (0)