Skip to content

Commit 385aed7

Browse files
coddersWMDE bot
authored andcommitted
Reenable documentation sniffs
Keep silencing the sniffs in tests to reduce noise. (That exclusion could be kept indefinitely, or addressed later) Bug: T330644 Change-Id: Ie54947ebd3650976c0c5569408e690ad9b039e38
1 parent 5187983 commit 385aed7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Entity/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function getStatements() {
297297
*
298298
* @param StatementList $statements
299299
*/
300-
public function setStatements( StatementList $statements ) {
300+
public function setStatements( StatementList $statements ): void {
301301
$this->statements = $statements;
302302
}
303303

src/Entity/Property.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function getStatements() {
279279
*
280280
* @param StatementList $statements
281281
*/
282-
public function setStatements( StatementList $statements ) {
282+
public function setStatements( StatementList $statements ): void {
283283
$this->statements = $statements;
284284
}
285285

src/Internal/MapValueHasher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MapValueHasher {
1818

1919
private bool $isOrdered;
2020

21-
public function __construct( $holdOrderIntoAccount = false ) {
21+
public function __construct( bool $holdOrderIntoAccount = false ) {
2222
$this->isOrdered = $holdOrderIntoAccount;
2323
}
2424

src/Statement/StatementListHolder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
*/
1515
interface StatementListHolder extends StatementListProvider {
1616

17-
public function setStatements( StatementList $statements );
17+
public function setStatements( StatementList $statements ): void;
1818

1919
}

0 commit comments

Comments
 (0)