diff --git a/src/Illuminate/Validation/Concerns/FormatsMessages.php b/src/Illuminate/Validation/Concerns/FormatsMessages.php index 39d102a331ba..f433a5361eec 100644 --- a/src/Illuminate/Validation/Concerns/FormatsMessages.php +++ b/src/Illuminate/Validation/Concerns/FormatsMessages.php @@ -336,7 +336,7 @@ public function getDisplayableValue($attribute, $value) return $value ? 'true' : 'false'; } - return $value; + return (string) $value; } /**