@@ -23,10 +23,10 @@ |
||
23 | 23 | return self::make(json_decode(file_get_contents($path))); |
24 | 24 | } |
25 | 25 | |
26 | - /** |
|
27 | - * @param object $json |
|
28 | - * @return mixed |
|
29 | - */ |
|
26 | + /** |
|
27 | + * @param object $json |
|
28 | + * @return mixed |
|
29 | + */ |
|
30 | 30 | public static function make($json) |
31 | 31 | { |
32 | 32 | if (!isset($json->type)) { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | foreach ($schema->properties() as $name => $schema) { |
12 | 12 | echo " - $name ", $schema->phpType(), "\n"; |
13 | 13 | if ($schema->isArray()) { |
14 | - /** @var Schema\ArraySchema $schema */ |
|
14 | + /** @var Schema\ArraySchema $schema */ |
|
15 | 15 | if ($schema->items()->isObject()) { |
16 | 16 | foreach ($schema->items()->properties() as $innerName => $innerSchema) { |
17 | 17 | echo " - $name ", $schema->phpType(), "\n"; |