@@ -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 ) ) { |
@@ -243,6 +243,9 @@ |
||
243 | 243 | $this->assertFalse( $exists ); |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @return \SMW\SPARQLStore\RepositoryConnection |
|
248 | + */ |
|
246 | 249 | private function createRepositoryConnectionMockToUse( $listReturnValue ) { |
247 | 250 | |
248 | 251 | $repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' ) |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use SMWExpLiteral as ExpLiteral; |
10 | 10 | use SMWExpNsResource as ExpNsResource; |
11 | 11 | use SMWExporter as Exporter; |
12 | -use SMWExpResource as ExpResource; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * @covers \SMW\SPARQLStore\RedirectLookup |
@@ -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 | /** |
@@ -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 |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * @since 2.1 |
97 | 97 | * |
98 | - * @return DataValue |
|
98 | + * @return \SMWDataValue |
|
99 | 99 | */ |
100 | 100 | public function getLocatedInValue() { |
101 | 101 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * |
113 | 113 | * @see https://en.wikipedia.org/wiki/Berlin |
114 | 114 | * |
115 | - * @return DataValue |
|
115 | + * @return \SMWDataValue |
|
116 | 116 | */ |
117 | 117 | public function getAreaValue() { |
118 | 118 | |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @see https://en.wikipedia.org/wiki/Berlin |
132 | 132 | * |
133 | - * @return DataValue |
|
133 | + * @return \SMWDataValue |
|
134 | 134 | */ |
135 | 135 | public function getAverageHighTemperatureValue() { |
136 | 136 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @see https://en.wikipedia.org/wiki/Demographics_of_Paris |
150 | 150 | * |
151 | - * @return DataValue |
|
151 | + * @return \SMWDataValue |
|
152 | 152 | */ |
153 | 153 | public function getPopulationValue() { |
154 | 154 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * |
166 | 166 | * @see https://en.wikipedia.org/wiki/Demographics_of_Paris |
167 | 167 | * |
168 | - * @return DataValue |
|
168 | + * @return \SMWDataValue |
|
169 | 169 | */ |
170 | 170 | public function getPopulationDensityValue() { |
171 | 171 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @since 1.9 |
67 | 67 | * |
68 | - * @param $objectName |
|
68 | + * @param string $objectName |
|
69 | 69 | * @param $objectArguments |
70 | 70 | * |
71 | 71 | * @return mixed |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @since 1.9 |
110 | 110 | * |
111 | 111 | * @param $length |
112 | - * @param $prefix identify a specific random string during testing |
|
112 | + * @param string $prefix identify a specific random string during testing |
|
113 | 113 | * |
114 | 114 | * @return string |
115 | 115 | */ |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * |
123 | 123 | * @since 1.9 |
124 | 124 | * |
125 | - * @param $key |
|
125 | + * @param string $key |
|
126 | 126 | * |
127 | 127 | * @return boolean |
128 | 128 | */ |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | /** |
162 | 162 | * @since 1.9 |
163 | 163 | * |
164 | - * @param $objectName |
|
164 | + * @param string $objectName |
|
165 | 165 | * |
166 | 166 | * @return MockObjectRepository|null |
167 | 167 | */ |
@@ -38,7 +38,7 @@ |
||
38 | 38 | /** |
39 | 39 | * @since 2.1 |
40 | 40 | * |
41 | - * @param Title $title |
|
41 | + * @param Title|null $title |
|
42 | 42 | * |
43 | 43 | * @return PageEditor |
44 | 44 | */ |