Completed
Pull Request — master (#98)
by mw
02:11
created
src/PropertyAnnotators/ExifPropertyAnnotator.php 1 patch
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.
src/PropertyAnnotators/LocalPropertyAnnotator.php 1 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/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/AppFactory.php 1 patch
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.
src/PropertyRegistry.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @since 1.0
36 36
 	 *
37
-	 * @param PropertyRegistry $propertyRegistry
37
+	 * @param BasePropertyRegistry $propertyRegistry
38 38
 	 *
39 39
 	 * @return boolean
40 40
 	 */
@@ -99,6 +99,10 @@  discard block
 block discarded – undo
99 99
 		}
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param BasePropertyRegistry $propertyRegistry
104
+	 * @param PropertyDefinitions $propertyDefinitions
105
+	 */
102 106
 	private function addPropertyDefinition( $propertyRegistry, $propertyDefinitions, $definition, $aliases ) {
103 107
 
104 108
 		$visible = isset( $definition['show'] ) ? $definition['show'] : false;
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.