Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/DataValues/MonolingualTextValue.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@  discard block
 block discarded – undo
67 67
 	/**
68 68
 	 * @see AbstractMultiValue::getProperties
69 69
 	 *
70
-	 * @param DIProperty[] $properties
71 70
 	 */
72 71
 	public function getProperties() {
73 72
 		self::$properties;
@@ -78,6 +77,7 @@  discard block
 block discarded – undo
78 77
 	 *
79 78
 	 * @param $userValue
80 79
 	 * @param string $languageCode
80
+	 * @param string $text
81 81
 	 *
82 82
 	 * @return string
83 83
 	 */
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	/**
278 278
 	 * @since 2.5
279 279
 	 *
280
-	 * @return array
280
+	 * @return string
281 281
 	 */
282 282
 	public function toArray() {
283 283
 
@@ -325,6 +325,9 @@  discard block
 block discarded – undo
325 325
 		return $list['_TEXT'] . '@' . $list['_LCODE'];
326 326
 	}
327 327
 
328
+	/**
329
+	 * @param string $value
330
+	 */
328 331
 	private function newContainerSemanticData( $value ) {
329 332
 
330 333
 		if ( $this->m_contextPage === null ) {
Please login to merge, or discard this patch.
src/QueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 	/**
83 83
 	 * @since 2.4
84 84
 	 *
85
-	 * @param integer|boolean $queryFeatures
85
+	 * @param integer $queryFeatures
86 86
 	 *
87 87
 	 * @return QueryParser
88 88
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/SortableQueryDBIntegrationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param DIProperty $property
127
+	 */
125 128
 	public function createQueryForSamplePagesThatContain( $property, array &$expectedSubjects ) {
126 129
 
127 130
 		foreach ( $expectedSubjects as $key => $expectedSubject ) {
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
 		return $query;
160 163
 	}
161 164
 
165
+	/**
166
+	 * @param \SMWDIWikiPage[] $results
167
+	 */
162 168
 	private function assertResultOrder( $expected, $results ) {
163 169
 
164 170
 		$hasSameOrder = true;
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableDefinitionBuilder.php 1 patch
Doc Comments   +4 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.9
36 36
 	 *
37
-	 * @param array $diType
37
+	 * @param array $diTypes
38 38
 	 * @param array $specialProperties
39 39
 	 * @param array $userDefinedFixedProperties
40 40
 	 */
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
 		}
149 149
 	}
150 150
 
151
+	/**
152
+	 * @param string $fixedPropertyTablePrefix
153
+	 */
151 154
 	private function addTableDefinitionForFixedProperties( array $properties, $fixedPropertyTablePrefix ) {
152 155
 		foreach( $properties as $propertyKey => $propetyTableSuffix ) {
153 156
 
Please login to merge, or discard this patch.
src/ParserParameterProcessor.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @since 1.9
65 65
 	 *
66
-	 * @param mixed $error
66
+	 * @param string $error
67 67
 	 */
68 68
 	public function addError( $error ) {
69 69
 		$this->errors = array_merge( (array)$error === $error ? $error : array( $error ), $this->errors );
@@ -239,6 +239,11 @@  discard block
 block discarded – undo
239 239
 		return $this->parseFromJson( $results );
240 240
 	}
241 241
 
242
+	/**
243
+	 * @param boolean $pipe
244
+	 *
245
+	 * @return string
246
+	 */
242 247
 	private function lookAheadOnNextElement( &$params, &$pipe ) {
243 248
 
244 249
 		$separator = '';
Please login to merge, or discard this patch.
tests/phpunit/JsonTestCaseFileHandler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@  discard block
 block discarded – undo
120 120
 	/**
121 121
 	 * @since 2.2
122 122
 	 *
123
+	 * @param string $version
123 124
 	 * @return boolean
124 125
 	 */
125 126
 	public function requiredToSkipForJsonVersion( $version ) {
@@ -305,6 +306,11 @@  discard block
 block discarded – undo
305 306
 		} );
306 307
 	}
307 308
 
309
+	/**
310
+	 * @param string $index
311
+	 *
312
+	 * @return string
313
+	 */
308 314
 	private function getFileContentsFor( $index ) {
309 315
 
310 316
 		$contents = $this->fileReader->read();
Please login to merge, or discard this patch.
includes/storage/SMW_Store.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@
 block discarded – undo
90 90
 	/**
91 91
 	 * @see EntityLookup::getInProperties
92 92
 	 *
93
-	 * @param DataItem $object
94
-	 * @param RequestOptions|null $requestOptions
93
+	 * @param SMWDataItem $object
94
+	 * @param RequestOptions|null $requestoptions
95 95
 	 *
96 96
 	 * @return DataItem[]|[]
97 97
 	 */
Please login to merge, or discard this patch.
src/EntityLookup.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 * @since 2.5
28 28
 	 *
29 29
 	 * @param DIWikiPage $subject
30
-	 * @param string[]|bool $filter
30
+	 * @param boolean $filter
31 31
 	 *
32 32
 	 * @return SemanticData
33 33
 	 */
@@ -70,7 +70,6 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @since 2.5
72 72
 	 *
73
-	 * @param DIWikiPage|null $subject
74 73
 	 * @param DIProperty $property
75 74
 	 * @param RequestOptions|null $requestOptions
76 75
 	 *
@@ -110,6 +109,7 @@  discard block
 block discarded – undo
110 109
 	 * @since 2.5
111 110
 	 *
112 111
 	 * @param DIWikiPage|null $subject
112
+	 * @return void
113 113
 	 */
114 114
 	public function resetCacheBy( DIWikiPage $subject = null );
115 115
 
Please login to merge, or discard this patch.
src/SQLStore/EntityStore/DataItemHandlerDispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
 		return $this->handlers[$type] = $this->newHandlerByType( $type );
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $type
63
+	 */
61 64
 	private function newHandlerByType( $type ) {
62 65
 
63 66
 		switch ( $type ) {
Please login to merge, or discard this patch.