Completed
Push — master ( 452be3...a75e2e )
by
unknown
05:54
created
src/PropertyAnnotators/ExifPropertyAnnotator.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@
 block discarded – undo
99 99
 		}
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param DIWikiPage $subject
104
+	 */
102 105
 	protected function getDataItemFromExifData( $subject, $rawExif ) {
103 106
 
104 107
 		$containerSemanticData = $this->newContainerSemanticData(
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use SMWDINumber as DINumber;
15 15
 use SMWDIBlob as DIBlob;
16 16
 use FormatMetadata;
17
-use RuntimeException;
18 17
 
19 18
 /**
20 19
  * @private
Please login to merge, or discard this patch.
src/PropertyAnnotators/LocalPropertyAnnotator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SESP\PropertyAnnotators;
4 4
 
5 5
 use SMW\DIProperty;
6
-use SMW\DIWikiPage;
7 6
 use SMW\SemanticData;
8 7
 use SMWDataItem as DataItem;
9 8
 use SESP\PropertyAnnotator;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@
 block discarded – undo
63 63
 		);
64 64
 	}
65 65
 
66
+	/**
67
+	 * @param DIProperty $property
68
+	 * @param SemanticData $semanticData
69
+	 */
66 70
 	private function callOnLocalDef( $definition, $property, $semanticData ) {
67 71
 
68 72
 		if ( !isset( $definition['id'] ) || $definition['id'] !== $property->getKey() ) {
Please login to merge, or discard this patch.
src/PropertyAnnotators/PageContributorsPropertyAnnotator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use SMW\DIProperty;
6 6
 use SMW\DIWikiPage;
7 7
 use SMW\SemanticData;
8
-use SMWDataItem as DataItem;
9
-use SMWDINumber as DINumber;
10 8
 use SESP\PropertyAnnotator;
11 9
 use SESP\AppFactory;
12 10
 
Please login to merge, or discard this patch.
src/PropertyAnnotators/PageViewsPropertyAnnotator.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 SMWDINumber as DINumber;
9 8
 use SESP\PropertyAnnotator;
10 9
 use SESP\AppFactory;
Please login to merge, or discard this patch.
src/ExtraPropertyAnnotator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
93 93
 		$this->dispatchingPropertyAnnotator->addPropertyAnnotator( $key, $propertyAnnotator );
94 94
 	}
95 95
 
96
+	/**
97
+	 * @param \SMW\DIWikiPage $subject
98
+	 */
96 99
 	private function canAnnotate( $subject ) {
97 100
 
98 101
 		if ( $subject === null || $subject->getTitle() === null || $subject->getTitle()->isSpecialPage() ) {
Please login to merge, or discard this patch.
src/PropertyAnnotators/DispatchingPropertyAnnotator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace SESP\PropertyAnnotators;
4 4
 
5 5
 use SMW\DIProperty;
6
-use SMW\DIWikiPage;
7 6
 use SMW\SemanticData;
8
-use SMWDataItem as DataItem;
9 7
 use SESP\PropertyAnnotator;
10 8
 use SESP\AppFactory;
11
-use Closure;
12 9
 
13 10
 /**
14 11
  * @private
Please login to merge, or discard this patch.
src/AppFactory.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@  discard block
 block discarded – undo
107 107
 	 * @since 2.0
108 108
 	 *
109 109
 	 * @param string $key
110
-	 * @param $default $mixed
111 110
 	 *
112 111
 	 * @return mixed|false
113 112
 	 */
@@ -155,7 +154,7 @@  discard block
 block discarded – undo
155 154
 	/**
156 155
 	 * @since 1.3
157 156
 	 *
158
-	 * @param Title $title
157
+	 * @param Title|null $title
159 158
 	 *
160 159
 	 * @return WikiPage
161 160
 	 */
@@ -178,7 +177,7 @@  discard block
 block discarded – undo
178 177
 	/**
179 178
 	 * @since 1.3
180 179
 	 *
181
-	 * @param Title $title
180
+	 * @param Title|null $title
182 181
 	 *
183 182
 	 * @return User
184 183
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Psr\Log\LoggerInterface;
7 7
 use Psr\Log\LoggerAwareInterface;
8 8
 use Onoi\Cache\Cache;
9
-use Onoi\Cache\NullCache;
10 9
 use Title;
11 10
 use WikiPage;
12 11
 use User;
Please login to merge, or discard this patch.
src/DatabaseLogReader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	 *
67 67
 	 * @since 2.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;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	/**
90 90
 	 * @since 2.0
91 91
 	 *
92
-	 * @return Timestamp
92
+	 * @return MWTimestamp|null
93 93
 	 */
94 94
 	public function getDateOfLogEntry() {
95 95
 		$this->init();
Please login to merge, or discard this patch.
src/PropertyAnnotators/UserBlockPropertyAnnotator.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 SMWDIBlob as DIBlob;
9 8
 use SESP\PropertyAnnotator;
10 9
 use SESP\AppFactory;
Please login to merge, or discard this patch.