Completed
Push — master ( 1811ff...1fe2bc )
by mw
08:02
created
src/PropertyAnnotators/ApprovedStatusPropertyAnnotator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SMWDIString as DIString;
8 8
 use SESP\PropertyAnnotator;
9 9
 use SESP\AppFactory;
10
-use LogReader;
11 10
 
12 11
 /**
13 12
  * @private
Please login to merge, or discard this patch.
src/PropertyAnnotators/ApprovedByPropertyAnnotator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use SESP\AppFactory;
6 6
 use SESP\PropertyAnnotator;
7
-use SESP\DatabaseLogReader;
8 7
 use SMW\DIWikiPage;
9
-use SMWDataItem as DataItem;
10 8
 use SMW\DIProperty;
11 9
 use SMW\SemanticData;
12 10
 use Title;
Please login to merge, or discard this patch.
src/PropertyAnnotators/ApprovedDatePropertyAnnotator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\DIProperty;
6 6
 use SMW\SemanticData;
7
-use SMWDataItem as DataItem;
8 7
 use SMWDITime as DITime;
9 8
 use SESP\PropertyAnnotator;
10 9
 use SESP\AppFactory;
Please login to merge, or discard this patch.
src/DatabaseLogReader.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@  discard block
 block discarded – undo
40 40
 
41 41
 	/**
42 42
 	 * @param DatabaseaBase $dbr injected connection
43
-	 * @param string $dbKey from page name
44 43
 	 * @param string $type of log (default: approval)
45 44
 	 */
46 45
 	public function __construct( DatabaseBase $dbr, Title $title = null , $type = 'approval' ) {
@@ -114,7 +113,7 @@  discard block
 block discarded – undo
114 113
 	/**
115 114
 	 * Fetch the query parameters for later calls
116 115
 	 *
117
-	 * @return array of parameters for SELECT call
116
+	 * @return string of parameters for SELECT call
118 117
 	 */
119 118
 	public function getQuery() {
120 119
 		return $this->query;
@@ -133,7 +132,7 @@  discard block
 block discarded – undo
133 132
 	}
134 133
 
135 134
 	/**
136
-	 * @return Timestamp
135
+	 * @return MWTimestamp|null
137 136
 	 */
138 137
 	public function getDateOfLogEntry() {
139 138
 		$this->init();
Please login to merge, or discard this patch.