Skip to content
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
taylorotwell authored and driesvints committed Aug 13, 2020
commit ff7119e216a9b25bc8f6029daf48477586be2109
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public function isGuarded($key)
$key = Str::before($key, '->');
}

return $this->getGuarded() == ['*'] || ! empty(preg_grep('/^'.preg_quote($key).'$/i', $this->getGuarded()));
return $this->getGuarded() == ['*'] ||
! empty(preg_grep('/^'.preg_quote($key).'$/i', $this->getGuarded()));
}

/**
Expand Down