Laravel version update

Laravel version update
This commit is contained in:
Manish Verma
2018-08-06 18:48:58 +05:30
parent d143048413
commit 126fbb0255
13678 changed files with 1031482 additions and 778530 deletions

View File

@@ -32,13 +32,13 @@ class Hex extends AbstractValidator
*/
public function isValid($value)
{
if (!is_string($value) && !is_int($value)) {
if (! is_string($value) && ! is_int($value)) {
$this->error(self::INVALID);
return false;
}
$this->setValue($value);
if (!ctype_xdigit((string) $value)) {
if (! ctype_xdigit((string) $value)) {
$this->error(self::NOT_HEX);
return false;
}