Skip to content

Commit f69abd6

Browse files
committed
refactor: makes Model constructor final
1 parent 64bf370 commit f69abd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ abstract class Model implements ModelInterface, Arrayable, JsonSerializable {
5555
*
5656
* @param array<string,mixed> $attributes Attributes.
5757
*/
58-
public function __construct( array $attributes = [] ) {
58+
final public function __construct( array $attributes = [] ) {
5959
$this->fill( array_merge( static::getPropertyDefaults(), $attributes ) );
6060

6161
$this->syncOriginal();

0 commit comments

Comments
 (0)