Skip to content

Commit bac73b2

Browse files
committed
style: correct code style violations
1 parent 5137da4 commit bac73b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/JsonSchema/SchemaStorage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public function addSchema(string $id, $schema = null): void
8181
/**
8282
* Recursively resolve all references against the provided base
8383
*
84-
* @param mixed $schema
84+
* @param mixed $schema
8585
*/
86-
private function expandRefs(&$schema, string $parentId = null): void
86+
private function expandRefs(&$schema, ?string $parentId = null): void
8787
{
8888
if (!is_object($schema)) {
8989
if (is_array($schema)) {
@@ -182,7 +182,7 @@ public function resolveRefSchema($refSchema, $resolveStack = [])
182182
*/
183183
private function addSubschemas($schema, string $parentId): void
184184
{
185-
if (! $schema instanceof \stdClass && !is_array($schema)) {
185+
if (!$schema instanceof \stdClass && !is_array($schema)) {
186186
return;
187187
}
188188

0 commit comments

Comments
 (0)