From cb58024961bf632ce86d074113f7658c7a40478b Mon Sep 17 00:00:00 2001 From: Mehmet Korkmaz Date: Tue, 27 Nov 2018 22:51:43 +0300 Subject: [PATCH] CS fix --- src/ObjectTrait.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ObjectTrait.php b/src/ObjectTrait.php index 15e2dc8..1806e66 100644 --- a/src/ObjectTrait.php +++ b/src/ObjectTrait.php @@ -54,7 +54,8 @@ public function validatePartially(array $requiredFields) : bool private function validateData($data, $schema) : bool { - $validation = (new Validator())->schemaValidation($data, $schema); + $validation = (new Validator()) + ->schemaValidation($data, $schema); if (!$validation->isValid()) { $errors = $validation->getErrors(); $message = 'Data validation failed.' . PHP_EOL;