Code cleanup, no functional changes
This commit is contained in:
@@ -55,7 +55,7 @@ trait EncodeUTF8
|
||||
|
||||
foreach ($properties as $property) {
|
||||
// Dont serialize the validation error
|
||||
if (($property->name == 'errors') || $property->isStatic())
|
||||
if (($property->name === 'errors') || $property->isStatic())
|
||||
continue;
|
||||
|
||||
$property->setAccessible(true);
|
||||
|
Reference in New Issue
Block a user