@@ -120,7 +120,7 @@ |
||
120 | 120 | * |
121 | 121 | * @param integer|string $mediaWikiCacheType |
122 | 122 | * |
123 | - * @return Cache |
|
123 | + * @return null|\Onoi\Cache\Cache |
|
124 | 124 | */ |
125 | 125 | public function newMediaWikiCompositeCache( $mediaWikiCacheType = null ) { |
126 | 126 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @since 2.5 |
28 | 28 | * |
29 | 29 | * @param DIWikiPage $subject |
30 | - * @param string[]|bool $filter |
|
30 | + * @param boolean $filter |
|
31 | 31 | * |
32 | 32 | * @return SemanticData |
33 | 33 | */ |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @since 2.5 |
72 | 72 | * |
73 | - * @param DIWikiPage|null $subject |
|
74 | 73 | * @param DIProperty $property |
75 | 74 | * @param RequestOptions|null $requestOptions |
76 | 75 | * |
@@ -110,6 +109,7 @@ discard block |
||
110 | 109 | * @since 2.5 |
111 | 110 | * |
112 | 111 | * @param DIWikiPage|null $subject |
112 | + * @return void |
|
113 | 113 | */ |
114 | 114 | public function resetCacheBy( DIWikiPage $subject = null ); |
115 | 115 |
@@ -58,6 +58,9 @@ |
||
58 | 58 | return $this->handlers[$type] = $this->newHandlerByType( $type ); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $type |
|
63 | + */ |
|
61 | 64 | private function newHandlerByType( $type ) { |
62 | 65 | |
63 | 66 | switch ( $type ) { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use SMWDataItem as DataItem; |
7 | 7 | use SMW\SQLStore\EntityStore\DataItemHandler; |
8 | 8 | use SMWDataItemException as DataItemException; |
9 | -use SMWDIGeoCoord as DIGeoCoord; |
|
9 | +use SMWDIGeoCoord as DIGeoCoord; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * This class implements store access to DIGeoCoord data items. |
@@ -402,6 +402,10 @@ |
||
402 | 402 | ) . $suffix ); |
403 | 403 | } |
404 | 404 | |
405 | + /** |
|
406 | + * @param string $id |
|
407 | + * @param DIWikiPage $subject |
|
408 | + */ |
|
405 | 409 | private function appendToList( $id, $subject ) { |
406 | 410 | |
407 | 411 | // Store the id with the main subject |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use SMW\Store; |
12 | 12 | use SMW\Localizer; |
13 | 13 | use SMWDataItem as DataItem; |
14 | -use SMW\SemanticData; |
|
15 | 14 | use SMW\RequestOptions; |
16 | 15 | |
17 | 16 | /** |
@@ -106,6 +106,9 @@ discard block |
||
106 | 106 | $this->doRemoveEntityReferencesById( $id ); |
107 | 107 | } |
108 | 108 | |
109 | + /** |
|
110 | + * @param integer $id |
|
111 | + */ |
|
109 | 112 | private function doRemoveEntityReferencesById( $id ) { |
110 | 113 | |
111 | 114 | $this->connection->delete( |
@@ -145,6 +148,9 @@ discard block |
||
145 | 148 | } |
146 | 149 | } |
147 | 150 | |
151 | + /** |
|
152 | + * @param integer $id |
|
153 | + */ |
|
148 | 154 | private function triggerResetCacheEventBy( $id ) { |
149 | 155 | |
150 | 156 | $subject = $this->store->getObjectIds()->getDataItemById( $id ); |
@@ -108,7 +108,6 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @since 1.8 |
110 | 110 | * @param boolean $verbose |
111 | - * @param DatabaseBase $db used for writing |
|
112 | 111 | */ |
113 | 112 | protected function setupTables( $tableBuilder, $dbtypes, $verbose ) { |
114 | 113 | |
@@ -323,6 +322,7 @@ discard block |
||
323 | 322 | * Create some initial DB entries for important built-in properties. Having the DB contents predefined |
324 | 323 | * allows us to safe DB calls when certain data is needed. At the same time, the entries in the DB |
325 | 324 | * make sure that DB-based functions work as with all other properties. |
325 | + * @param boolean $verbose |
|
326 | 326 | */ |
327 | 327 | protected function setupPredefinedProperties( $verbose, DatabaseBase $db ) { |
328 | 328 |
@@ -49,6 +49,7 @@ discard block |
||
49 | 49 | * |
50 | 50 | * @param string $tableName |
51 | 51 | * @param array|null $tableOptions |
52 | + * @return void |
|
52 | 53 | */ |
53 | 54 | public function createTable( $tableName, array $tableOptions = null ); |
54 | 55 | |
@@ -58,6 +59,7 @@ discard block |
||
58 | 59 | * @since 2.5 |
59 | 60 | * |
60 | 61 | * @param string $tableName |
62 | + * @return void |
|
61 | 63 | */ |
62 | 64 | public function dropTable( $tableName ); |
63 | 65 | |
@@ -74,8 +76,8 @@ discard block |
||
74 | 76 | * |
75 | 77 | * @since 2.5 |
76 | 78 | * |
77 | - * @param string $indexName |
|
78 | 79 | * @param array|null $indexOptions |
80 | + * @return void |
|
79 | 81 | */ |
80 | 82 | public function createIndex( $tableName, array $indexOptions = null ); |
81 | 83 | |
@@ -101,6 +103,7 @@ discard block |
||
101 | 103 | * @since 2.5 |
102 | 104 | * |
103 | 105 | * @param string $event |
106 | + * @return boolean|null |
|
104 | 107 | */ |
105 | 108 | public function checkOn( $event ); |
106 | 109 |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * |
181 | 181 | * @param Parser $parser |
182 | 182 | * |
183 | - * @return SubobjectParserFunction |
|
183 | + * @return SubobjectParserFunc |
|
184 | 184 | */ |
185 | 185 | public function newSubobjectParserFunction( Parser $parser ) { |
186 | 186 | |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | * |
210 | 210 | * @param Parser $parser |
211 | 211 | * |
212 | - * @return RecurringEventsParserFunction |
|
212 | + * @return RecurringEventsParserFunc |
|
213 | 213 | */ |
214 | 214 | public function newRecurringEventsParserFunction( Parser $parser ) { |
215 | 215 |