Skip to content

Commit ab68ea7

Browse files
jakobwWMDE bot
authored andcommitted
Use mediawiki-phan-config 0.16.0
The majority of issues were related to exception handling (unused exception variable, missing @throws annotation etc), and straightforward to fix. Bug: T398459 Change-Id: I5a459fd4c45eb73439ade6cca29109370468a495
1 parent cb532e5 commit ab68ea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Deserializers/SnakDeserializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private function needsDataTypeLookup( string $valueType ): bool {
168168
private function deserializePropertyId( string $serialization ): PropertyId {
169169
try {
170170
$id = $this->propertyIdParser->parse( $serialization );
171-
} catch ( EntityIdParsingException $ex ) {
171+
} catch ( EntityIdParsingException ) {
172172
throw new InvalidAttributeException(
173173
'property',
174174
$serialization,

0 commit comments

Comments
 (0)