Skip to content

Commit

Permalink
Apply fixes from StyleCI (#33772)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 6, 2020
1 parent 5ec47f8 commit 56e6134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eloquent/Model.php
Expand Up @@ -379,7 +379,7 @@ protected function removeTableFromKey($key)
if (strpos($key, '.') !== false) {
if (! empty($this->getGuarded()) &&
$this->getGuarded() !== ['*']) {
throw new LogicException("Mass assignment of Eloquent attributes including table names is unsafe when guarding attributes.");
throw new LogicException('Mass assignment of Eloquent attributes including table names is unsafe when guarding attributes.');
}

return last(explode('.', $key));
Expand Down

0 comments on commit 56e6134

Please sign in to comment.