Skip to content

Commit

Permalink
fix: allow attributes starting with underscore to be filled (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider committed Jul 24, 2024
1 parent 4660cde commit 25db340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public function isFillable($key)
return false;
}

return empty($this->getFillable()) && !Str::startsWith($key, '_');
return empty($this->getFillable());
}

/**
Expand Down

0 comments on commit 25db340

Please sign in to comment.