@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * @param DIProperty $property |
| 47 | 47 | * @param array|string $value |
| 48 | 48 | * |
| 49 | - * @return DataValue |
|
| 49 | + * @return DIProperty |
|
| 50 | 50 | */ |
| 51 | 51 | public function newDataValueFrom( DIProperty $property, $value ) { |
| 52 | 52 | |
@@ -110,6 +110,9 @@ discard block |
||
| 110 | 110 | return $dataItem; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | + /** |
|
| 114 | + * @param DIProperty $property |
|
| 115 | + */ |
|
| 113 | 116 | private function newDataValueFromPropertyObject( $property, $value ) { |
| 114 | 117 | |
| 115 | 118 | try{ |
@@ -121,6 +124,9 @@ discard block |
||
| 121 | 124 | return $dv; |
| 122 | 125 | } |
| 123 | 126 | |
| 127 | + /** |
|
| 128 | + * @param DIProperty $property |
|
| 129 | + */ |
|
| 124 | 130 | private function newDataValueFromDataItem( $property, $dataItem ) { |
| 125 | 131 | |
| 126 | 132 | try{ |