Skip to content

Commit 31782ac

Browse files
committed
formatting
1 parent 624d873 commit 31782ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ public function isGuarded($key)
167167
$key = Str::before($key, '->');
168168
}
169169

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

173174
/**

0 commit comments

Comments
 (0)