Skip to content

Commit b0955b9

Browse files
authored
Update Event.php
1 parent d6f8191 commit b0955b9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/ContextTypes/Event.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ class Event extends Thing
1818
'location' => Place::class,
1919
];
2020

21-
/**
22-
* Constructor. Merges extendedStructure up
23-
*
24-
* @param array $attributes
25-
* @param array $extendedStructure
26-
*/
27-
public function __construct(array $attributes, array $extendedStructure = [])
28-
{
29-
parent::__construct(
30-
$attributes, array_merge($this->structure, $this->extendedStructure, $extendedStructure)
31-
);
32-
}
21+
/**
22+
* Constructor. Merges extendedStructure up
23+
*
24+
* @param array $attributes
25+
* @param array $extendedStructure
26+
*/
27+
public function __construct(array $attributes, array $extendedStructure = [])
28+
{
29+
parent::__construct(
30+
$attributes, array_merge($this->structure, $this->extendedStructure, $extendedStructure)
31+
);
32+
}
3333

34-
/**
34+
/**
3535
* Set offers attributes.
3636
*
3737
* @param mixed $values
@@ -51,4 +51,4 @@ protected function setOffersAttribute($values)
5151

5252
return $values;
5353
}
54-
}
54+
}

0 commit comments

Comments
 (0)