Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codeliner committed Mar 19, 2019
1 parent 0533de2 commit d39ca2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonSchema/Type/ObjectType.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function toArray(): array
'additionalProperties' => $this->allowAdditionalProps,
];

if (!empty($this->properties)) {
if (! empty($this->properties)) {
$schema['properties'] = \array_map(function (Type $type) {
return $type->toArray();
}, $this->properties);
Expand Down

0 comments on commit d39ca2b

Please sign in to comment.