@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @since 1.0 |
| 68 | 68 | * |
| 69 | - * @return array of parameters for SELECT call |
|
| 69 | + * @return string of parameters for SELECT call |
|
| 70 | 70 | */ |
| 71 | 71 | public function getQuery() { |
| 72 | 72 | return $this->query; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * @param Title|null $title |
| 97 | 97 | * @param string $type |
| 98 | 98 | * |
| 99 | - * @return Timestamp |
|
| 99 | + * @return MWTimestamp|null |
|
| 100 | 100 | */ |
| 101 | 101 | public function getDateOfLogEntry( Title $title = null, $type = 'approval' ) { |
| 102 | 102 | |
@@ -128,6 +128,8 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | 130 | * Take care of loading from the cache or filling the query. |
| 131 | + * @param null|Title $title |
|
| 132 | + * @param string $type |
|
| 131 | 133 | */ |
| 132 | 134 | private function init( $title, $type ) { |
| 133 | 135 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * |
| 154 | 154 | * @since 1.0 |
| 155 | 155 | * |
| 156 | - * @param ProertyRegistry $$registry |
|
| 156 | + * @param ProertyRegistry $registry |
|
| 157 | 157 | * @param integer &$latestRevID |
| 158 | 158 | */ |
| 159 | 159 | public function onInitProperties( $registry ) { |
@@ -169,7 +169,6 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @since 1.0 |
| 171 | 171 | * |
| 172 | - * @param ProertyRegistry $$registry |
|
| 173 | 172 | * @param integer &$latestRevID |
| 174 | 173 | */ |
| 175 | 174 | public function onUpdateDataBefore( $store, $semanticData ) { |
@@ -68,6 +68,9 @@ |
||
| 68 | 68 | ); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param \SMW\DIWikiPage $subject |
|
| 73 | + */ |
|
| 71 | 74 | private function canAnnotate( $subject ) { |
| 72 | 75 | |
| 73 | 76 | if ( $subject === null || $subject->getTitle() === null || $subject->getTitle()->isSpecialPage() ) { |