Completed
Push — master ( e2081c...9cbf76 )
by mw
20:12
created
src/Cache/CacheInvalidator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use SG\SemanticDataComparator;
6 6
 use SG\PropertyRegistry;
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
 /**
Please login to merge, or discard this patch.
src/Cache/ElementsCacheBuilder.php 2 patches
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,17 +3,14 @@
 block discarded – undo
3 3
 namespace SG\Cache;
4 4
 
5 5
 use SG\PropertyRegistry;
6
-
7 6
 use SMW\Store;
8 7
 use SMW\DIProperty;
9
-
10 8
 use SMWStringValue as StringValue;
11 9
 use SMWPrintRequest as PrintRequest;
12 10
 use SMWPropertyValue as PropertyValue;
13 11
 use SMWThingDescription as ThingDescription;
14 12
 use SMWSomeProperty as SomeProperty;
15 13
 use SMWQuery as Query;
16
-
17 14
 use Lingo\Element;
18 15
 
19 16
 /**
Please login to merge, or discard this patch.
src/Cache/GlossaryCache.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	/**
34 34
 	 * @since 1.0
35 35
 	 *
36
-	 * @return BagOStuff
36
+	 * @return DIWikiPage
37 37
 	 */
38 38
 	public function getCache() {
39 39
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SG\Cache;
4 4
 
5 5
 use SMW\DIWikiPage;
6
-
7 6
 use ObjectCache;
8 7
 use BagOStuff;
9 8
 
Please login to merge, or discard this patch.
src/HookRegistry.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Maintenance/GlossaryCacheRebuilder.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use SG\PropertyRegistry;
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;
Please login to merge, or discard this patch.
tests/phpunit/Unit/Cache/CacheInvalidatorTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,11 @@
 block discarded – undo
5 5
 use SG\PropertyRegistry;
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
 
Please login to merge, or discard this patch.