Skip to content

Commit

Permalink
add boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 6, 2020
1 parent 31782ac commit b70876a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function isFillable($key)
*/
public function isGuarded($key)
{
if (strpos($key, '->')) {
if (strpos($key, '->') !== false) {
$key = Str::before($key, '->');
}

Expand Down

0 comments on commit b70876a

Please sign in to comment.