Skip to content

Commit

Permalink
style: remove brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz authored Jan 16, 2025
1 parent 7888d8c commit 9b1376f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasChildren.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected function getChildModel(array $attributes)
$attributes[$this->getInheritanceColumn()]
);

$childModel = new $className();
$childModel = new $className;

foreach ($attributes as $key => $value) {
$childModel->setAttribute($key, $value);
Expand Down

0 comments on commit 9b1376f

Please sign in to comment.