Skip to content

Commit ac8777d

Browse files
thiemowmdeWMDE bot
authored andcommitted
Many small fixes to incomplete/unspecific/broken PHPDoc comments
E.g. adding missing types or fixing inconsistencies. This patch is exclusively about comments and should be fairly easy to review, I hope. It should be impossible such a patch can break anything. Mistakes like this happen because the relevant MediaWiki CodeSniffer sniff is disabled in this codebase. I would love to enable it at least partially, if possible. This is done in preparation. Change-Id: Ie6a676df1ac88eb65d1cb1b923e29d0e20d893e2
1 parent 0eae890 commit ac8777d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/Entity/SerializableEntityId.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111
abstract class SerializableEntityId implements EntityId {
1212

13+
/** @var string */
1314
protected $serialization;
1415

1516
public const PATTERN = '/^[^:]+\z/';

src/Snak/PropertyValueSnak.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020
class PropertyValueSnak extends SnakObject {
2121

22+
/** @var DataValue */
2223
protected $dataValue;
2324

2425
/**

0 commit comments

Comments
 (0)