@@ -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 | */ |
@@ -4,14 +4,11 @@ |
||
4 | 4 | |
5 | 5 | use SG\SemanticDataComparator; |
6 | 6 | use SG\PropertyRegistrationHelper; |
7 | - |
|
8 | 7 | use SMW\Store; |
9 | 8 | use SMW\SemanticData; |
10 | 9 | use SMW\DIWikiPage; |
11 | 10 | use SMW\DIProperty; |
12 | - |
|
13 | 11 | use Lingo\LingoParser; |
14 | - |
|
15 | 12 | use Title; |
16 | 13 | |
17 | 14 | /** |
@@ -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 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SG\Cache; |
4 | 4 | |
5 | 5 | use SMW\DIWikiPage; |
6 | - |
|
7 | 6 | use ObjectCache; |
8 | 7 | use BagOStuff; |
9 | 8 |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use SMW\DataValueFactory; |
7 | 7 | use SMW\Store; |
8 | 8 | use SMW\DIProperty; |
9 | -use SMWStringValue as StringValue; |
|
10 | 9 | use SMWPrintRequest as PrintRequest; |
11 | -use SMWPropertyValue as PropertyValue; |
|
12 | 10 | use SMWThingDescription as ThingDescription; |
13 | 11 | use SMWSomeProperty as SomeProperty; |
14 | 12 | use SMWQuery as Query; |
@@ -47,8 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * @since 1.1 |
49 | 49 | * |
50 | - * @param SMWStore $store |
|
51 | - * @param GlossaryCache $cache |
|
50 | + * @param Store $store |
|
52 | 51 | */ |
53 | 52 | public function __construct( Store $store, GlossaryCache $glossaryCache ) { |
54 | 53 | $this->store = $store; |
@@ -58,7 +57,7 @@ discard block |
||
58 | 57 | /** |
59 | 58 | * @since 1.1 |
60 | 59 | * |
61 | - * @return array |
|
60 | + * @return \SMW\DIWikiPage |
|
62 | 61 | */ |
63 | 62 | public function getElements() { |
64 | 63 | |
@@ -103,6 +102,11 @@ discard block |
||
103 | 102 | return $ret; |
104 | 103 | } |
105 | 104 | |
105 | + /** |
|
106 | + * @param string|null $definition |
|
107 | + * @param string|null $link |
|
108 | + * @param string|null $style |
|
109 | + */ |
|
106 | 110 | private function buildElements( $terms, $definition, $link, $style, $page ) { |
107 | 111 | |
108 | 112 | $ret = array(); |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use SG\PropertyRegistrationHelper; |
6 | 6 | use SG\Cache\GlossaryCache; |
7 | - |
|
8 | 7 | use SMWUpdateJob as UpdateJob; |
9 | 8 | use SMW\Store; |
10 | - |
|
11 | 9 | use SMWQuery as Query; |
12 | 10 | use SMWSomeProperty as SomeProperty; |
13 | 11 | use SMWDIProperty as DIProperty; |
@@ -5,13 +5,11 @@ |
||
5 | 5 | use SG\PropertyRegistrationHelper; |
6 | 6 | use SG\Cache\CacheInvalidator; |
7 | 7 | use SG\Cache\GlossaryCache; |
8 | - |
|
9 | 8 | use SMW\Subobject; |
10 | 9 | use SMW\SemanticData; |
11 | 10 | use SMW\DIWikiPage; |
12 | 11 | use SMW\DIProperty; |
13 | 12 | use SMWDIBlob as DIBlob; |
14 | - |
|
15 | 13 | use HashBagOStuff; |
16 | 14 | use Title; |
17 | 15 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SG\Tests; |
4 | 4 | |
5 | 5 | use SG\HookRegistry; |
6 | -use SMW\DIProperty; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @covers \SG\HookRegistry |