@@ -405,6 +405,9 @@ discard block |
||
| 405 | 405 | } |
| 406 | 406 | |
| 407 | 407 | |
| 408 | + /** |
|
| 409 | + * @param string $path |
|
| 410 | + */ |
|
| 408 | 411 | private function fail(InvalidValue $exception, $path) |
| 409 | 412 | { |
| 410 | 413 | if ($path !== '#') { |
@@ -482,6 +485,9 @@ discard block |
||
| 482 | 485 | return $this; |
| 483 | 486 | } |
| 484 | 487 | |
| 488 | + /** |
|
| 489 | + * @param string $className |
|
| 490 | + */ |
|
| 485 | 491 | public function getMeta($className) |
| 486 | 492 | { |
| 487 | 493 | if (isset($this->metaItems[$className])) { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | class Composition extends Schema |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @param Schema... $schema |
|
| 16 | 15 | */ |
| 17 | 16 | public function __construct() |
| 18 | 17 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | use Swaggest\JsonSchema\MagicMap; |
| 7 | -use Swaggest\JsonSchema\Schema; |
|
| 8 | 7 | |
| 9 | 8 | class ObjectItem extends MagicMap |
| 10 | 9 | { |