jenkins-bot has submitted this change and it was merged. Change subject: Fix call to non-existing method in error case. ......................................................................
Fix call to non-existing method in error case. Change-Id: Id85d3182a8aaba53a3c863c12adefe0ec537f387 --- M lib/includes/TypedValueFormatter.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Denny Vrandecic: Looks good to me, approved jenkins-bot: Verified diff --git a/lib/includes/TypedValueFormatter.php b/lib/includes/TypedValueFormatter.php index 05f430e..c4f7fe0 100644 --- a/lib/includes/TypedValueFormatter.php +++ b/lib/includes/TypedValueFormatter.php @@ -37,7 +37,7 @@ // in the DataTypes library have been made. if ( $dataValue->getType() === 'bad' ) { - throw new IllegalValueException( $dataValue->getError() ); + throw new IllegalValueException( $dataValue->getReason() ); } $valueFormatters = $dataType->getFormatters(); -- To view, visit https://gerrit.wikimedia.org/r/81232 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id85d3182a8aaba53a3c863c12adefe0ec537f387 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Daniel Kinzler <daniel.kinz...@wikimedia.de> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Denny Vrandecic <denny.vrande...@wikimedia.de> Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits