@@ -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 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @param array $value |
78 | 78 | * |
79 | - * @return DIWikiPage|false |
|
79 | + * @return boolean |
|
80 | 80 | */ |
81 | 81 | public function newDiWikiPage( array $value ) { |
82 | 82 | |
@@ -114,6 +114,9 @@ discard block |
||
114 | 114 | return $dataItem; |
115 | 115 | } |
116 | 116 | |
117 | + /** |
|
118 | + * @param DIProperty $property |
|
119 | + */ |
|
117 | 120 | private function newDataValueFromPropertyObject( $property, $value ) { |
118 | 121 | |
119 | 122 | try{ |
@@ -125,6 +128,9 @@ discard block |
||
125 | 128 | return $dv; |
126 | 129 | } |
127 | 130 | |
131 | + /** |
|
132 | + * @param DIProperty $property |
|
133 | + */ |
|
128 | 134 | private function newDataValueFromDataItem( $property, $dataItem = false ) { |
129 | 135 | |
130 | 136 | if ( $dataItem === false ) { |