@@ -7,7 +7,7 @@ |
||
7 | 7 | use SMWDataItem as DataItem; |
8 | 8 | use SMWExpData as ExpData; |
9 | 9 | use SMWDIBlob as DIBlob; |
10 | -use SMWImportValue as ImportValue; |
|
10 | +use SMWImportValue as ImportValue; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * @private |
@@ -94,6 +94,9 @@ discard block |
||
94 | 94 | } |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param DIProperty $property |
|
99 | + */ |
|
97 | 100 | protected function getResourceElementForProperty( $property ) { |
98 | 101 | |
99 | 102 | $key = 'resource:builder:' . $property->getKey(); |
@@ -112,6 +115,9 @@ discard block |
||
112 | 115 | return $resourceElement; |
113 | 116 | } |
114 | 117 | |
118 | + /** |
|
119 | + * @param DIProperty $property |
|
120 | + */ |
|
115 | 121 | protected function getResourceElementHelperForProperty( $property ) { |
116 | 122 | |
117 | 123 | $key = 'resource:builder:aux:' . $property->getKey(); |
@@ -40,7 +40,6 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * @see DataValue::getShortWikiText |
42 | 42 | * |
43 | - * @param string $value |
|
44 | 43 | */ |
45 | 44 | public function getShortWikiText( $linker = null ) { |
46 | 45 | |
@@ -137,6 +136,9 @@ discard block |
||
137 | 136 | return $dataValue->getDataItem(); |
138 | 137 | } |
139 | 138 | |
139 | + /** |
|
140 | + * @return boolean |
|
141 | + */ |
|
140 | 142 | private function getExternalFormattedUri( $value ) { |
141 | 143 | |
142 | 144 | if ( $this->externalFormattedUri !== null ) { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SMW\Exporter\ResourceBuilders; |
4 | 4 | |
5 | -use SMW\Exporter\ResourceBuilder; |
|
6 | 5 | use SMW\DIProperty; |
7 | 6 | use SMWExporter as Exporter; |
8 | 7 | use SMW\DataValueFactory; |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * |
96 | 96 | * @since 2.5 |
97 | 97 | * |
98 | - * @param string|integer $index |
|
98 | + * @param string $index |
|
99 | 99 | * |
100 | 100 | * @return DIProperty|null |
101 | 101 | */ |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use SMW\MediaWiki\MwCollaboratorFactory; |
14 | 14 | use SMW\MediaWiki\PageCreator; |
15 | 15 | use SMW\MediaWiki\TitleCreator; |
16 | -use SMW\Query\ProfileAnnotator\QueryProfileAnnotatorFactory; |
|
17 | 16 | use SMWQueryParser as QueryParser; |
18 | 17 | use Title; |
19 | 18 |
@@ -358,7 +358,7 @@ |
||
358 | 358 | /** |
359 | 359 | * @since 2.4 |
360 | 360 | * |
361 | - * @return MediaWikiNsContentReader |
|
361 | + * @return MediaWiki\MediaWikiNsContentReader |
|
362 | 362 | */ |
363 | 363 | public function getMediaWikiNsContentReader() { |
364 | 364 | return $this->callbackLoader->singleton( 'MediaWikiNsContentReader' ); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @since 1.6 |
136 | 136 | * |
137 | - * @return SMWDataItem|false |
|
137 | + * @return null|DataItem |
|
138 | 138 | */ |
139 | 139 | public function getNextDataItem() { |
140 | 140 | $this->loadContent(); |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * |
268 | 268 | * @param boolean $useLimit |
269 | 269 | * |
270 | - * @return SMWRequestOptions|null |
|
270 | + * @return SMW\RequestOptions|null |
|
271 | 271 | */ |
272 | 272 | protected function getRequestOptions( $useLimit = true ) { |
273 | 273 | return $this->resultFieldMatchFinder->getRequestOptions( $useLimit ); |
@@ -1,11 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use SMW\DataValueFactory; |
4 | -use SMW\InTextAnnotationParser; |
|
5 | 4 | use SMW\Query\PrintRequest; |
6 | 5 | use SMW\Query\Result\EntityListAccumulator; |
7 | 6 | use SMWDataItem as DataItem; |
8 | -use SMWDIBlob as DIBlob; |
|
9 | 7 | use SMW\Query\Result\ResultFieldMatchFinder; |
10 | 8 | use SMW\Query\QueryToken; |
11 | 9 |
@@ -63,6 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * @since 2.4 |
65 | 65 | * |
66 | + * @param string $queryID |
|
66 | 67 | * @return array |
67 | 68 | */ |
68 | 69 | public function getEntityList( $queryID = null ) { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\DIProperty; |
6 | 6 | use SMW\DIWikiPage; |
7 | -use SMW\Store; |
|
8 | 7 | use SMWDataItem as DataItem; |
9 | 8 | use SMWQuery as Query; |
10 | 9 |
@@ -76,6 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @see DataValue::getShortWikiText |
79 | + * @param string $linker |
|
79 | 80 | */ |
80 | 81 | public function getShortWikiText( $linker = null ) { |
81 | 82 | |
@@ -88,6 +89,7 @@ discard block |
||
88 | 89 | |
89 | 90 | /** |
90 | 91 | * @see DataValue::getLongWikiText |
92 | + * @param string $linker |
|
91 | 93 | */ |
92 | 94 | public function getLongWikiText( $linker = null ) { |
93 | 95 | |
@@ -154,7 +156,6 @@ discard block |
||
154 | 156 | * @see DataValue::parseUserValue |
155 | 157 | * @note called by DataValue::setUserValue |
156 | 158 | * |
157 | - * @param string $userValue |
|
158 | 159 | */ |
159 | 160 | protected function parseUserValue( $value ) { |
160 | 161 | |
@@ -171,6 +172,9 @@ discard block |
||
171 | 172 | $this->m_dataitem = new DIBlob( $value ); |
172 | 173 | } |
173 | 174 | |
175 | + /** |
|
176 | + * @param string $value |
|
177 | + */ |
|
174 | 178 | private function initPropertyChain( $value ) { |
175 | 179 | |
176 | 180 | $chain = explode( '.', $value ); |