@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * @since 1.0 |
| 113 | 113 | * |
| 114 | - * @return array |
|
| 114 | + * @return string |
|
| 115 | 115 | */ |
| 116 | 116 | public function getRawResponseResult() { |
| 117 | 117 | return $this->rawResponseResult; |
@@ -192,6 +192,9 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | + /** |
|
| 196 | + * @param string $hash |
|
| 197 | + */ |
|
| 195 | 198 | private function addPropertyValues( $hash, $pk, $pvalues ) { |
| 196 | 199 | |
| 197 | 200 | $property = DIProperty::newFromUserLabel( $pk ); |
@@ -284,6 +284,9 @@ |
||
| 284 | 284 | ); |
| 285 | 285 | } |
| 286 | 286 | |
| 287 | + /** |
|
| 288 | + * @param CannedResultArray $instance |
|
| 289 | + */ |
|
| 287 | 290 | private function assertDataItem( $dataItem, $instance ) { |
| 288 | 291 | |
| 289 | 292 | $this->assertEquals( |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * |
| 86 | 86 | * @param array $value |
| 87 | 87 | * |
| 88 | - * @return DIWikiPage|false |
|
| 88 | + * @return boolean |
|
| 89 | 89 | */ |
| 90 | 90 | public function newDiWikiPage( array $value ) { |
| 91 | 91 | |
@@ -127,6 +127,9 @@ discard block |
||
| 127 | 127 | return new DIBlob( $this->embeddedLinksReplacer->replace( $value ) ); |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | + /** |
|
| 131 | + * @param DIProperty $property |
|
| 132 | + */ |
|
| 130 | 133 | private function newDataValueFromPropertyObject( $property, $value ) { |
| 131 | 134 | |
| 132 | 135 | try{ |
@@ -138,6 +141,9 @@ discard block |
||
| 138 | 141 | return $dv; |
| 139 | 142 | } |
| 140 | 143 | |
| 144 | + /** |
|
| 145 | + * @param DIProperty $property |
|
| 146 | + */ |
|
| 141 | 147 | private function newDataValueFromDataItem( $property, $dataItem = false ) { |
| 142 | 148 | |
| 143 | 149 | if ( $dataItem === false ) { |