@@ -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 | { |
@@ -75,6 +75,9 @@ discard block |
||
| 75 | 75 | private $__propertyToData = array(); |
| 76 | 76 | |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param string $dataName |
|
| 80 | + */ |
|
| 78 | 81 | public function addPropertyMapping($dataName, $propertyName) |
| 79 | 82 | { |
| 80 | 83 | $this->__dataToProperty[$dataName] = $propertyName; |
@@ -598,6 +601,9 @@ discard block |
||
| 598 | 601 | return $this; |
| 599 | 602 | } |
| 600 | 603 | |
| 604 | + /** |
|
| 605 | + * @param string $path |
|
| 606 | + */ |
|
| 601 | 607 | private function fail(InvalidValue $exception, $path) |
| 602 | 608 | { |
| 603 | 609 | if ($path !== '#') { |
@@ -684,6 +690,9 @@ discard block |
||
| 684 | 690 | return $this; |
| 685 | 691 | } |
| 686 | 692 | |
| 693 | + /** |
|
| 694 | + * @param string $className |
|
| 695 | + */ |
|
| 687 | 696 | public function getMeta($className) |
| 688 | 697 | { |
| 689 | 698 | if (isset($this->metaItems[$className])) { |