@@ -97,6 +97,9 @@ |
||
97 | 97 | // return $this->m_semanticData->getHash(); |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @param SMWSemanticData $semanticData |
|
102 | + */ |
|
100 | 103 | private function getValueHash( $semanticData ) { |
101 | 104 | |
102 | 105 | $hash = array(); |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * output, then the Semdata container will at least look as if properly |
175 | 175 | * initialised (though empty). |
176 | 176 | * |
177 | - * @return array |
|
177 | + * @return string[] |
|
178 | 178 | */ |
179 | 179 | public function __sleep() { |
180 | 180 | return array( 'mSubject', 'mPropVals', 'mProperties', 'subSemanticData', 'mHasVisibleProps', 'mHasVisibleSpecs', 'lastModified' ); |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | * Return the array of subSemanticData objects for this SemanticData |
277 | 277 | * |
278 | 278 | * @since 1.8 |
279 | - * @return SMWContainerSemanticData[] subobject => SMWContainerSemanticData |
|
279 | + * @return SemanticData[] subobject => SMWContainerSemanticData |
|
280 | 280 | */ |
281 | 281 | public function getSubSemanticData() { |
282 | 282 | return $this->subSemanticData->getSubSemanticData(); |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | * Store a value for a given property identified by its text label |
377 | 377 | * (without namespace prefix). |
378 | 378 | * |
379 | - * @param $propertyName string |
|
379 | + * @param string $propertyName string |
|
380 | 380 | * @param $dataItem SMWDataItem |
381 | 381 | */ |
382 | 382 | public function addPropertyValue( $propertyName, SMWDataItem $dataItem ) { |
@@ -598,7 +598,7 @@ discard block |
||
598 | 598 | * @see SubSemanticData::hasSubSemanticData |
599 | 599 | * @since 1.9 |
600 | 600 | * |
601 | - * @param string $subobjectName|null |
|
601 | + * @param string $subobjectName |
|
602 | 602 | * |
603 | 603 | * @return boolean |
604 | 604 | */ |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * output, then the Semdata container will at least look as if properly |
101 | 101 | * initialised (though empty). |
102 | 102 | * |
103 | - * @return array |
|
103 | + * @return string[] |
|
104 | 104 | */ |
105 | 105 | public function __sleep() { |
106 | 106 | return array( 'subject', 'subSemanticData' ); |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | /** |
138 | 138 | * @since 2.5 |
139 | 139 | * |
140 | - * @param string $subobjectName|null |
|
140 | + * @param string $subobjectName |
|
141 | 141 | * |
142 | 142 | * @return boolean |
143 | 143 | */ |