提交的内容
This commit is contained in:
2
vendor/overtrue/socialite/src/Traits/HasAttributes.php
vendored
Executable file → Normal file
2
vendor/overtrue/socialite/src/Traits/HasAttributes.php
vendored
Executable file → Normal file
@ -68,7 +68,7 @@ trait HasAttributes
|
||||
{
|
||||
$result = \json_encode($this->getAttributes(), JSON_UNESCAPED_UNICODE);
|
||||
|
||||
false === $result && throw new Exceptions\Exception('Cannot Processing this instance as JSON stringify.');
|
||||
$result === false && throw new Exceptions\Exception('Cannot Processing this instance as JSON stringify.');
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user