Completed
Pull Request — master (#829)
by
unknown
09:15 queued 02:16
created
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.
src/ByPropertyIdArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 	 *
145 145
 	 * @param PropertyIdProvider $object
146 146
 	 *
147
-	 * @return bool|int
147
+	 * @return integer
148 148
 	 * @throws RuntimeException
149 149
 	 */
150 150
 	public function getFlatArrayIndexOfObject( $object ) {
Please login to merge, or discard this patch.
tests/unit/Statement/StatementListTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 * @param string|null $guid
32 32
 	 * @param int $rank
33 33
 	 *
34
-	 * @return Statement
34
+	 * @return \PHPUnit\Framework\MockObject\MockObject
35 35
 	 */
36 36
 	private function getStatement( $propertyId, $guid, $rank = Statement::RANK_NORMAL ) {
37 37
 		$statement = $this->createMock( Statement::class );
Please login to merge, or discard this patch.
src/ReferenceList.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
 	 *
93 93
 	 * @param Snak ...$snaks
94 94
 	 * (passing a single Snak[] is still supported but deprecated)
95
+	 * @param Snak[] $snaks
95 96
 	 *
96 97
 	 * @throws InvalidArgumentException
97 98
 	 */
@@ -321,7 +322,7 @@  discard block
 block discarded – undo
321 322
 	 *
322 323
 	 * @since 5.0
323 324
 	 *
324
-	 * @return Iterator|Reference[]
325
+	 * @return ArrayIterator
325 326
 	 */
326 327
 	public function getIterator() {
327 328
 		return new ArrayIterator( array_values( $this->references ) );
Please login to merge, or discard this patch.