Skip to content

Commit 80d1c52

Browse files
committed
set order entry props differently
1 parent 5f9701c commit 80d1c52

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Models/BulletinOrderEntry.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ public function __construct(Array $props)
1010
if(isset($props['id']) === false){
1111
throw new CarouselModelException('BulletinOrderEntry must have an id in its props. This value will always come from the Carousel Server and should not be instantiated by a consumer');
1212
}
13-
parent::__construct($props);
13+
foreach ($props as $key => $value) {
14+
$this->$key = $value;
15+
}
1416
}
1517

1618
public function getSaveEndpoint()

0 commit comments

Comments
 (0)