Completed
Push — detect-covers-fails ( bd35c8 )
by no
12:32 queued 05:53
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Wikibase\DataModel\Statement\Statement;
6 6
 use Wikibase\DataModel\Term\AliasGroup;
7 7
 use Wikibase\DataModel\Term\AliasGroupList;
8
-use Wikibase\DataModel\Term\Fingerprint;
9 8
 use Wikibase\DataModel\Term\FingerprintHolder;
10 9
 use Wikibase\DataModel\Term\TermList;
11 10
 
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.
src/Entity/Item.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	 * Can be ItemId since 0.5.
82 82
 	 * Can be null since 1.0.
83 83
 	 *
84
-	 * @param ItemId|int|null $id
84
+	 * @param integer $id
85 85
 	 *
86 86
 	 * @throws InvalidArgumentException
87 87
 	 */
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 	 *
331 331
 	 * @since 0.1
332 332
 	 *
333
-	 * @param mixed $target
333
+	 * @param Item $target
334 334
 	 *
335 335
 	 * @return bool
336 336
 	 */
Please login to merge, or discard this patch.
tests/unit/Entity/EntityTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Wikibase\DataModel\Tests\Entity;
4 4
 
5
-use Diff\DiffOp\Diff\Diff;
6
-use Diff\DiffOp\DiffOpAdd;
7
-use Diff\DiffOp\DiffOpRemove;
8 5
 use Wikibase\DataModel\Entity\Entity;
9 6
 use Wikibase\DataModel\Entity\Item;
10 7
 use Wikibase\DataModel\Term\AliasGroup;
Please login to merge, or discard this patch.