@@ -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 | */ |
@@ -292,6 +292,9 @@ |
||
292 | 292 | return array(); |
293 | 293 | } |
294 | 294 | |
295 | + /** |
|
296 | + * @param string $value |
|
297 | + */ |
|
295 | 298 | private function newContainerSemanticData( $value ) { |
296 | 299 | |
297 | 300 | if ( $this->m_contextPage === null ) { |
@@ -120,6 +120,10 @@ |
||
120 | 120 | return $results; |
121 | 121 | } |
122 | 122 | |
123 | + /** |
|
124 | + * @param boolean $isValue |
|
125 | + * @param DataValue $dataValue |
|
126 | + */ |
|
123 | 127 | private function findValueOutputFor( $isValue, $type, $dataValue, $linker ) { |
124 | 128 | |
125 | 129 | // Turn Uri/Page links into a href representation when not used as value |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use SMW\SPARQLStore\QueryEngine\QueryEngine; |
6 | 6 | use SMW\SPARQLStore\QueryEngine\EngineOptions; |
7 | 7 | use SMW\SPARQLStore\QueryEngine\QueryResultFactory; |
8 | -use SMW\DIProperty; |
|
9 | 8 | use SMWQuery as Query; |
10 | 9 | |
11 | 10 | /** |
@@ -66,7 +66,6 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * @see AbstractMultiValue::getProperties |
68 | 68 | * |
69 | - * @param DIProperty[] $properties |
|
70 | 69 | */ |
71 | 70 | public function getProperties() { |
72 | 71 | self::$properties; |
@@ -283,7 +282,7 @@ discard block |
||
283 | 282 | /** |
284 | 283 | * @since 2.5 |
285 | 284 | * |
286 | - * @return array |
|
285 | + * @return string |
|
287 | 286 | */ |
288 | 287 | public function toArray() { |
289 | 288 | |
@@ -315,6 +314,9 @@ discard block |
||
315 | 314 | return $list; |
316 | 315 | } |
317 | 316 | |
317 | + /** |
|
318 | + * @param string $value |
|
319 | + */ |
|
318 | 320 | private function newContainerSemanticData( $value ) { |
319 | 321 | |
320 | 322 | if ( $this->m_contextPage === null ) { |
@@ -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 ); |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use SMW\InTextAnnotationParser; |
4 | 4 | use SMW\Query\PrintRequest; |
5 | -use SMW\Localizer; |
|
6 | 5 | use SMW\DataValueFactory; |
7 | 6 | use SMWDIBlob as DIBlob; |
8 | 7 |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param integer $mode a constant defining what to printout |
70 | 70 | * @param string $label the string label to describe this printout |
71 | 71 | * @param mixed $data optional data for specifying some request, might be a property object, title, or something else; interpretation depends on $mode |
72 | - * @param mixed $outputformat optional string for specifying an output format, e.g. an output unit |
|
72 | + * @param string $outputformat optional string for specifying an output format, e.g. an output unit |
|
73 | 73 | * @param array|null $params optional array of further, named parameters for the print request |
74 | 74 | */ |
75 | 75 | public function __construct( $mode, $label, $data = null, $outputformat = false, array $params = null ) { |
@@ -137,6 +137,7 @@ discard block |
||
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Convenience method for accessing the text in either HTML or Wiki format. |
140 | + * @param integer $outputMode |
|
140 | 141 | */ |
141 | 142 | public function getText( $outputMode, $linker = null ) { |
142 | 143 | return Formatter::format( $this, $linker, $outputMode ); |
@@ -219,7 +220,7 @@ discard block |
||
219 | 220 | /** |
220 | 221 | * Returns the value of a named parameter. |
221 | 222 | * |
222 | - * @param $key string the name of the parameter key |
|
223 | + * @param string $key string the name of the parameter key |
|
223 | 224 | * |
224 | 225 | * @return string Value of the paramer, if set (else FALSE) |
225 | 226 | */ |
@@ -239,7 +240,7 @@ discard block |
||
239 | 240 | /** |
240 | 241 | * Sets a print request parameter. |
241 | 242 | * |
242 | - * @param $key string Name of the parameter |
|
243 | + * @param string $key string Name of the parameter |
|
243 | 244 | * @param $value string Value for the parameter |
244 | 245 | */ |
245 | 246 | public function setParameter( $key, $value ) { |
@@ -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 ) { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Tests\SQLStore; |
4 | 4 | |
5 | 5 | use SMW\SQLStore\SQLStoreFactory; |
6 | -use SMW\Store; |
|
7 | 6 | use SMWSQLStore3; |
8 | 7 | |
9 | 8 | /** |
@@ -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 ); |
@@ -82,6 +82,9 @@ discard block |
||
82 | 82 | return $result; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $joinVariable |
|
87 | + */ |
|
85 | 88 | private function mapCategoriesToConditionElements( array $categories, $joinVariable ) { |
86 | 89 | |
87 | 90 | $condition = ''; |
@@ -109,6 +112,9 @@ discard block |
||
109 | 112 | return array( $condition, $namespaces ); |
110 | 113 | } |
111 | 114 | |
115 | + /** |
|
116 | + * @param string $categoryExpName |
|
117 | + */ |
|
112 | 118 | private function tryToAddClassHierarchyPattern( $category, &$categoryExpName ) { |
113 | 119 | |
114 | 120 | if ( !$this->compoundConditionBuilder->canUseQFeature( SMW_SPARQL_QF_SUBC ) ) { |