mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I0476384b99c41102ddca5928fbb068c45c139d56
This commit is contained in:
parent
dc007663b2
commit
da3c9edb26
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.3",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.4",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
|
|
|
@ -61,9 +61,7 @@ class MathWikibaseConnector {
|
|||
$entityRevision = $entityRevisionLookup->getEntityRevision( $entityId );
|
||||
} catch ( EntityIdParsingException $e ) {
|
||||
throw new InvalidArgumentException( "Invalid Wikibase ID." );
|
||||
} catch ( RevisionedUnresolvedRedirectException $e ) {
|
||||
throw new InvalidArgumentException( "Non-existing Wikibase ID." );
|
||||
} catch ( StorageException $e ) {
|
||||
} catch ( RevisionedUnresolvedRedirectException | StorageException $e ) {
|
||||
throw new InvalidArgumentException( "Non-existing Wikibase ID." );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue