Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix styleci
  • Loading branch information
lloricode authored Mar 3, 2021
commit 78d8998aa5ef098bf978f2a7d41920756f6b792a
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/DatabaseRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected function formatWheres()
{
return collect($this->wheres)->map(function ($where) {
if (is_bool($where['value'])) {
return $where['column'].','.($where['value']?'true':'false');
return $where['column'].','.($where['value'] ? 'true' : 'false');
} else {
return $where['column'].','.'"'.str_replace('"', '""', $where['value']).'"';
}
Expand Down