Passed
Push — jsonTests ( bfbd0f...4da890 )
by no
11:10 queued 13s
created
src/ByPropertyIdArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 	 * @since 0.5
133 133
 	 *
134 134
 	 * @param object $object
135
-	 * @return bool|int
135
+	 * @return integer
136 136
 	 *
137 137
 	 * @throws RuntimeException
138 138
 	 */
Please login to merge, or discard this patch.
src/Entity/Entity.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	 *
198 198
 	 * @param string $languageCode
199 199
 	 *
200
-	 * @return string|bool
200
+	 * @return false|string
201 201
 	 */
202 202
 	public function getDescription( $languageCode ) {
203 203
 		if ( !$this->getFingerprint()->hasDescription( $languageCode ) ) {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	 *
216 216
 	 * @param string $languageCode
217 217
 	 *
218
-	 * @return string|bool
218
+	 * @return false|string
219 219
 	 */
220 220
 	public function getLabel( $languageCode ) {
221 221
 		if ( !$this->getFingerprint()->hasLabel( $languageCode ) ) {
Please login to merge, or discard this patch.
src/Entity/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
 	 *
330 330
 	 * @since 0.1
331 331
 	 *
332
-	 * @param mixed $target
332
+	 * @param Item $target
333 333
 	 *
334 334
 	 * @return bool
335 335
 	 */
Please login to merge, or discard this patch.
src/Entity/Property.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 	 *
198 198
 	 * @since 0.1
199 199
 	 *
200
-	 * @param mixed $target
200
+	 * @param Property $target
201 201
 	 *
202 202
 	 * @return bool
203 203
 	 */
Please login to merge, or discard this patch.
src/HashArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@
 block discarded – undo
381 381
 	/**
382 382
 	 * @see ArrayObject::append
383 383
 	 *
384
-	 * @param mixed $value
384
+	 * @param Hashable $value
385 385
 	 */
386 386
 	public function append( $value ) {
387 387
 		$this->setElement( null, $value );
Please login to merge, or discard this patch.
src/Term/AliasGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 	/**
85 85
 	 * @see Comparable::equals
86 86
 	 *
87
-	 * @param mixed $target
87
+	 * @param AliasGroup $target
88 88
 	 *
89 89
 	 * @return bool
90 90
 	 */
Please login to merge, or discard this patch.
tests/unit/Claim/ClaimsTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 	private $guidCounter = 0;
30 30
 
31
+	/**
32
+	 * @param string $guid
33
+	 */
31 34
 	private function makeStatement( Snak $mainSnak, $guid = null ) {
32 35
 		if ( $guid === null ) {
33 36
 			$this->guidCounter++;
Please login to merge, or discard this patch.
tests/unit/Statement/StatementListTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
51 51
 		return $statement;
52 52
 	}
53 53
 
54
+	/**
55
+	 * @param integer $propertyId
56
+	 * @param string $stringValue
57
+	 */
54 58
 	private function getStatementWithSnak( $propertyId, $stringValue ) {
55 59
 		$snak = $this->newSnak( $propertyId, $stringValue );
56 60
 		$statement = new Statement( $snak );
Please login to merge, or discard this patch.