@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * |
| 96 | 96 | * @param Store $store |
| 97 | 97 | * @param DIWikiPage $subject |
| 98 | - * @param boolean|true $purgeLingo |
|
| 98 | + * @param boolean $purgeLingo |
|
| 99 | 99 | * |
| 100 | 100 | * @return boolean |
| 101 | 101 | */ |
@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * @since 1.1 |
| 52 | 52 | * |
| 53 | - * @param SMWStore $store |
|
| 54 | - * @param GlossaryCache $cache |
|
| 53 | + * @param Store $store |
|
| 55 | 54 | */ |
| 56 | 55 | public function __construct( Store $store, GlossaryCache $glossaryCache ) { |
| 57 | 56 | $this->store = $store; |
@@ -61,7 +60,7 @@ discard block |
||
| 61 | 60 | /** |
| 62 | 61 | * @since 1.1 |
| 63 | 62 | * |
| 64 | - * @return array |
|
| 63 | + * @return \SMW\DIWikiPage |
|
| 65 | 64 | */ |
| 66 | 65 | public function getElements() { |
| 67 | 66 | wfProfileIn( __METHOD__ ); |
@@ -108,6 +107,11 @@ discard block |
||
| 108 | 107 | return $ret; |
| 109 | 108 | } |
| 110 | 109 | |
| 110 | + /** |
|
| 111 | + * @param string|null $definition |
|
| 112 | + * @param string|null $link |
|
| 113 | + * @param string|null $style |
|
| 114 | + */ |
|
| 111 | 115 | private function buildElements( $terms, $definition, $link, $style, $page ) { |
| 112 | 116 | |
| 113 | 117 | $ret = array(); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * @since 1.0 |
| 35 | 35 | * |
| 36 | - * @return BagOStuff |
|
| 36 | + * @return DIWikiPage |
|
| 37 | 37 | */ |
| 38 | 38 | public function getCache() { |
| 39 | 39 | |
@@ -59,6 +59,9 @@ |
||
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param Store $store |
|
| 64 | + */ |
|
| 62 | 65 | private function addCallbackHandlers( $store ) { |
| 63 | 66 | |
| 64 | 67 | $propertyRegistry = new PropertyRegistry(); |