@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * @param Description $description |
46 | 46 | * |
47 | - * @return QuerySegment |
|
47 | + * @return \SMW\SQLStore\QueryEngine\QuerySegment |
|
48 | 48 | * @throws InvalidArgumentException |
49 | 49 | */ |
50 | 50 | public function interpretDescription( Description $description ) { |
@@ -63,7 +63,6 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * @since 2.2 |
65 | 65 | * |
66 | - * @param DescriptionInterpreter $defaultInterpreter |
|
67 | 66 | */ |
68 | 67 | public function addInterpreter( DescriptionInterpreter $interpreter ) { |
69 | 68 | $this->interpreters[] = $interpreter; |
@@ -197,7 +197,7 @@ |
||
197 | 197 | * ValueDescription objects, create and return a plain WHERE condition |
198 | 198 | * string for it. |
199 | 199 | * |
200 | - * @param $query |
|
200 | + * @param QuerySegment $query |
|
201 | 201 | * @param Description $description |
202 | 202 | * @param SMWSQLStore3Table $proptable |
203 | 203 | * @param DataItemHandler $diHandler for that table |
@@ -121,6 +121,9 @@ |
||
121 | 121 | return $query; |
122 | 122 | } |
123 | 123 | |
124 | + /** |
|
125 | + * @param QuerySegment $query |
|
126 | + */ |
|
124 | 127 | private function addFulltextSearchCondition( $query, $comparator, $value ) { |
125 | 128 | |
126 | 129 | // Remove &SEARCH from the search string |
@@ -63,6 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @since 1.9 |
65 | 65 | * |
66 | + * @param boolean $mode |
|
66 | 67 | * @return AskParserFunction |
67 | 68 | */ |
68 | 69 | public function setShowMode( $mode ) { |
@@ -94,7 +95,6 @@ discard block |
||
94 | 95 | * |
95 | 96 | * @since 1.9 |
96 | 97 | * |
97 | - * @param array $params |
|
98 | 98 | * |
99 | 99 | * @return string|null |
100 | 100 | */ |
@@ -214,6 +214,9 @@ discard block |
||
214 | 214 | return $result; |
215 | 215 | } |
216 | 216 | |
217 | + /** |
|
218 | + * @param Query $query |
|
219 | + */ |
|
217 | 220 | private function createQueryProfile( $query, $format ) { |
218 | 221 | |
219 | 222 | // If the smwgQueryProfiler is marked with FALSE then just don't create a profile. |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Parser; |
6 | 6 | use SMWQueryProcessor; |
7 | -use SMWQuery as Query; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * Provides the {{#ask}} parser function |
@@ -723,7 +723,7 @@ discard block |
||
723 | 723 | * |
724 | 724 | * @param integer $sid |
725 | 725 | * @param DIWikiPage $subject |
726 | - * @param integer|string|null $interWiki |
|
726 | + * @param string $interWiki |
|
727 | 727 | */ |
728 | 728 | public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) { |
729 | 729 | |
@@ -978,9 +978,8 @@ discard block |
||
978 | 978 | /** |
979 | 979 | * @since 2.3 |
980 | 980 | * |
981 | - * @param integer $id |
|
982 | 981 | * |
983 | - * @return string[] |
|
982 | + * @return SMW\Iterators\MappingIterator |
|
984 | 983 | */ |
985 | 984 | public function getDataItemPoolHashListFor( array $idlist ) { |
986 | 985 | return $this->idToDataItemMatchFinder->getDataItemPoolHashListFor( $idlist ); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @since 2.5 |
29 | 29 | * |
30 | - * @param Iterator/array $$iterable |
|
30 | + * @param Iterator/array $iterable |
|
31 | 31 | * @param callable $callback |
32 | 32 | * |
33 | 33 | * @return MappingIterator |
@@ -76,7 +76,7 @@ |
||
76 | 76 | * |
77 | 77 | * @param array $idList |
78 | 78 | * |
79 | - * @return DIWikiPage[] |
|
79 | + * @return \SMW\Iterators\MappingIterator |
|
80 | 80 | */ |
81 | 81 | public function getDataItemPoolHashListFor( array $idList ) { |
82 | 82 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Iterators\Tests; |
4 | 4 | |
5 | 5 | use SMW\Iterators\ResultIterator; |
6 | -use ArrayIterator; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @covers \SMW\Iterators\ResultIterator |
@@ -142,6 +142,11 @@ |
||
142 | 142 | return $this->findMatchesWith( '_SUBC', $category->getDBKey(), $category, new RequestOptions() ); |
143 | 143 | } |
144 | 144 | |
145 | + /** |
|
146 | + * @param string $id |
|
147 | + * @param string $key |
|
148 | + * @param RequestOptions $requestOptions |
|
149 | + */ |
|
145 | 150 | private function findMatchesWith( $id, $key, DIWikiPage $subject, $requestOptions ) { |
146 | 151 | |
147 | 152 | $key = $id . '#' . $key . '#' . $requestOptions->getHash(); |