@@ -163,6 +163,9 @@ |
||
163 | 163 | $this->assertPropertyCount( $expected['poAfter'], $expected['storeAfter'], $parserData ); |
164 | 164 | } |
165 | 165 | |
166 | + /** |
|
167 | + * @param ParserData $parserData |
|
168 | + */ |
|
166 | 169 | protected function assertPropertyCount( $poExpected, $storeExpected, $parserData ) { |
167 | 170 | $this->semanticDataValidator->assertThatSemanticDataHasPropertyCountOf( |
168 | 171 | $poExpected['count'], |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use SMW\Tests\Utils\PageCreator; |
13 | 13 | use Title; |
14 | 14 | use UnexpectedValueException; |
15 | -use User; |
|
16 | 15 | use WikiPage; |
17 | 16 | |
18 | 17 | /** |
@@ -111,6 +111,9 @@ |
||
111 | 111 | ); |
112 | 112 | } |
113 | 113 | |
114 | + /** |
|
115 | + * @param string $categoryName |
|
116 | + */ |
|
114 | 117 | private function searchForResultsThatCompareEqualToClassOf( $categoryName ) { |
115 | 118 | |
116 | 119 | $propertyValue = new PropertyValue( '__pro' ); |
@@ -78,6 +78,9 @@ |
||
78 | 78 | $this->assertStoreHasDataToRefresh( true ); |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param boolean $useJobs |
|
83 | + */ |
|
81 | 84 | protected function assertStoreHasDataToRefresh( $useJobs ) { |
82 | 85 | $refreshPosition = $this->title->getArticleID(); |
83 | 86 |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use SMW\Tests\Utils\PageCreator; |
8 | 8 | use SMW\Tests\Utils\PageDeleter; |
9 | 9 | use Title; |
10 | -use WikiPage; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * |
@@ -144,7 +144,6 @@ |
||
144 | 144 | /** |
145 | 145 | * Returns RequestContext object |
146 | 146 | * |
147 | - * @param array $params |
|
148 | 147 | * |
149 | 148 | * @return RequestContext |
150 | 149 | */ |
@@ -122,6 +122,9 @@ discard block |
||
122 | 122 | ); |
123 | 123 | } |
124 | 124 | |
125 | + /** |
|
126 | + * @param CachedFactbox $instance |
|
127 | + */ |
|
125 | 128 | public function assertPreProcess( $expected, $result, $outputPage, $instance ) { |
126 | 129 | |
127 | 130 | if ( $expected['text'] ) { |
@@ -150,6 +153,9 @@ discard block |
||
150 | 153 | } |
151 | 154 | } |
152 | 155 | |
156 | + /** |
|
157 | + * @param CachedFactbox $instance |
|
158 | + */ |
|
153 | 159 | public function assertPostProcess( $expected, $result, $outputPage, $instance ) { |
154 | 160 | |
155 | 161 | $this->assertEquals( |
@@ -55,6 +55,9 @@ |
||
55 | 55 | $instance->parse( $rawResultProvider->getInvalidSparqlResultXml() ); |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param \SMW\SPARQLStore\QueryEngine\RepositoryResult $results |
|
60 | + */ |
|
58 | 61 | protected function assertResultFormat( $expectedResultRowItemInstance, $results ) { |
59 | 62 | |
60 | 63 | if ( !is_array( $expectedResultRowItemInstance ) ) { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @param Store $store |
35 | 35 | * |
36 | - * @return PageDataFetcher |
|
36 | + * @return ByPageSemanticDataFinder |
|
37 | 37 | */ |
38 | 38 | public function setStore( Store $store ) { |
39 | 39 | $this->store = $store; |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * |
46 | 46 | * @param Title $title |
47 | 47 | * |
48 | - * @return PageDataFetcher |
|
48 | + * @return ByPageSemanticDataFinder |
|
49 | 49 | */ |
50 | 50 | public function setTitle( Title $title ) { |
51 | 51 | $this->title = $title; |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * @since 2.1 |
99 | 99 | * |
100 | - * @return DataValue |
|
100 | + * @return \SMWDataValue |
|
101 | 101 | */ |
102 | 102 | public function getLocatedInValue() { |
103 | 103 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * @see https://en.wikipedia.org/wiki/Berlin |
116 | 116 | * |
117 | - * @return DataValue |
|
117 | + * @return \SMWDataValue |
|
118 | 118 | */ |
119 | 119 | public function getAreaValue() { |
120 | 120 | |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * |
132 | 132 | * @see https://en.wikipedia.org/wiki/Berlin |
133 | 133 | * |
134 | - * @return DataValue |
|
134 | + * @return \SMWDataValue |
|
135 | 135 | */ |
136 | 136 | public function getFoundedValue() { |
137 | 137 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @see https://en.wikipedia.org/wiki/Berlin |
150 | 150 | * |
151 | - * @return DataValue |
|
151 | + * @return \SMWDataValue |
|
152 | 152 | */ |
153 | 153 | public function getAverageHighTemperatureValue() { |
154 | 154 | |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | * |
167 | 167 | * @see https://en.wikipedia.org/wiki/Berlin |
168 | 168 | * |
169 | - * @return DataValue |
|
169 | + * @return \SMWDataValue |
|
170 | 170 | */ |
171 | 171 | public function getPopulationValue() { |
172 | 172 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * |
184 | 184 | * @see https://en.wikipedia.org/wiki/Demographics_of_Berlin |
185 | 185 | * |
186 | - * @return DataValue |
|
186 | + * @return \SMWDataValue |
|
187 | 187 | */ |
188 | 188 | public function getPopulationDensityValue() { |
189 | 189 |
@@ -85,7 +85,7 @@ |
||
85 | 85 | /** |
86 | 86 | * @since 2.1 |
87 | 87 | * |
88 | - * @return DataValue |
|
88 | + * @return \SMWDataValue |
|
89 | 89 | */ |
90 | 90 | public function getLocatedInValue() { |
91 | 91 |