@@ -72,7 +72,7 @@ |
||
72 | 72 | * |
73 | 73 | * @since 1.9 |
74 | 74 | * |
75 | - * @return ObjectDictionary |
|
75 | + * @return Options |
|
76 | 76 | */ |
77 | 77 | protected function formatAskArgs() { |
78 | 78 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param DIConcept $concept |
64 | 64 | * |
65 | - * @return ExpData|null |
|
65 | + * @return null|Element |
|
66 | 66 | */ |
67 | 67 | public function getElementFor( DIConcept $concept ) { |
68 | 68 | |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @param string &$exact |
119 | 119 | * |
120 | - * @return Element|false |
|
120 | + * @return Element |
|
121 | 121 | */ |
122 | 122 | public function getExpDataFromDescription( Description $description, &$exact ) { |
123 | 123 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * @since 2.2 |
54 | 54 | * |
55 | - * @return QueryEngine |
|
55 | + * @return QueryEngine\QueryEngine |
|
56 | 56 | */ |
57 | 57 | public function newMasterQueryEngine() { |
58 | 58 | return $this->queryEngineFactory->newQueryEngine(); |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * @since 2.2 |
63 | 63 | * |
64 | - * @return QueryEngine |
|
64 | + * @return QueryEngine\QueryEngine |
|
65 | 65 | */ |
66 | 66 | public function newSlaveQueryEngine() { |
67 | 67 | return $this->queryEngineFactory->newQueryEngine(); |
@@ -103,6 +103,10 @@ discard block |
||
103 | 103 | $this->inMemoryPoolCache->getPoolCacheFor( 'sql.store.redirect.infostore' )->delete( $hash ); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param string $title |
|
108 | + * @param integer $namespace |
|
109 | + */ |
|
106 | 110 | private function select( $title, $namespace ) { |
107 | 111 | |
108 | 112 | $row = $this->connection->selectRow( |
@@ -118,6 +122,11 @@ discard block |
||
118 | 122 | return $row !== false && isset( $row->o_id ) ? (int)$row->o_id : 0; |
119 | 123 | } |
120 | 124 | |
125 | + /** |
|
126 | + * @param integer $id |
|
127 | + * @param string $title |
|
128 | + * @param integer $namespace |
|
129 | + */ |
|
121 | 130 | private function insert( $id, $title, $namespace ) { |
122 | 131 | |
123 | 132 | $this->connection->insert( |
@@ -130,6 +139,10 @@ discard block |
||
130 | 139 | ); |
131 | 140 | } |
132 | 141 | |
142 | + /** |
|
143 | + * @param string $title |
|
144 | + * @param integer $namespace |
|
145 | + */ |
|
133 | 146 | private function delete( $title, $namespace ) { |
134 | 147 | |
135 | 148 | $this->connection->delete( |
@@ -119,6 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | /** |
121 | 121 | * @since 2.4 |
122 | + * @param string $msgKey |
|
122 | 123 | */ |
123 | 124 | protected function getNavigationLinks( $msgKey, array $diWikiPages, $default = 50 ) { |
124 | 125 | global $wgRequest; |
@@ -178,7 +179,7 @@ discard block |
||
178 | 179 | * If the method returns false, nothing will be printed besides |
179 | 180 | * the original article. |
180 | 181 | * |
181 | - * @return true |
|
182 | + * @return boolean |
|
182 | 183 | */ |
183 | 184 | protected function initParameters() { |
184 | 185 | $this->limit = 20; |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @since 2.4 |
72 | 72 | * |
73 | - * @param DITime $dataItem |
|
74 | 73 | * @param boolean $mindefault determining whether values below the |
75 | 74 | * precision of our input should be completed with minimal or maximal |
76 | 75 | * conceivable values |
@@ -111,7 +110,6 @@ discard block |
||
111 | 110 | * |
112 | 111 | * @since 2.4 |
113 | 112 | * |
114 | - * @param DITime $dataItem |
|
115 | 113 | * |
116 | 114 | * @return string |
117 | 115 | */ |
@@ -167,7 +165,7 @@ discard block |
||
167 | 165 | * |
168 | 166 | * @since 2.4 |
169 | 167 | * |
170 | - * @param DITime $dataitem |
|
168 | + * @param DITime $dataItem |
|
171 | 169 | * |
172 | 170 | * @return string |
173 | 171 | */ |
@@ -350,6 +348,9 @@ discard block |
||
350 | 348 | return $this->getCaptionFromDataItem( $dataItem ); |
351 | 349 | } |
352 | 350 | |
351 | + /** |
|
352 | + * @param DITime $dataItem |
|
353 | + */ |
|
353 | 354 | private function hintCalendarModel( $dataItem ) { |
354 | 355 | |
355 | 356 | if ( $this->dataValue->isEnabledFeature( SMW_DV_TIMEV_CM ) && $dataItem->getCalendarModel() !== DITime::CM_GREGORIAN ) { |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * @since 2.4 |
24 | 24 | * |
25 | - * @param string $eventTypes |
|
25 | + * @param string $eventType |
|
26 | 26 | */ |
27 | 27 | public function registerLoggableEventType( $eventType ) { |
28 | 28 | $this->eventTypes[$eventType] = true; |
@@ -63,6 +63,9 @@ discard block |
||
63 | 63 | return $logEntry->insert(); |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $type |
|
68 | + */ |
|
66 | 69 | protected function newManualLogEntryForType( $type ) { |
67 | 70 | return new ManualLogEntry( 'smw', $type ); |
68 | 71 | } |
@@ -226,6 +226,9 @@ |
||
226 | 226 | ); |
227 | 227 | } |
228 | 228 | |
229 | + /** |
|
230 | + * @param boolean $asPrefix |
|
231 | + */ |
|
229 | 232 | private function matchUnitAliases( $number, $asPrefix, array $unitAliases ) { |
230 | 233 | $first = true; |
231 | 234 |
@@ -144,7 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * @since 2.4 |
146 | 146 | * |
147 | - * @param Language|string $languageCode |
|
147 | + * @param Language|string $language |
|
148 | 148 | * |
149 | 149 | * @return ExtraneousLanguage |
150 | 150 | */ |