Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64271


Change subject: Fix naming of PropertyNotFoundException
......................................................................

Fix naming of PropertyNotFoundException

Change-Id: I05ebc17a54573f62cd39949f5d84e04dc3395010
---
M lib/includes/EntityRetrievingDataTypeLookup.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/71/64271/1

diff --git a/lib/includes/EntityRetrievingDataTypeLookup.php 
b/lib/includes/EntityRetrievingDataTypeLookup.php
index bff63d3..18ae571 100644
--- a/lib/includes/EntityRetrievingDataTypeLookup.php
+++ b/lib/includes/EntityRetrievingDataTypeLookup.php
@@ -67,13 +67,13 @@
         * @param EntityId $propertyId
         *
         * @return Property
-        * @throws PropertyNotFoundExtension
+        * @throws PropertyNotFoundException
         */
        private function getProperty( EntityId $propertyId ) {
                $property = $this->entityLookup->getEntity( $propertyId );
 
                if ( $property === null ) {
-                       throw new PropertyNotFoundExtension();
+                       throw new PropertyNotFoundException();
                }
 
                assert( $property instanceof Property );
@@ -82,8 +82,8 @@
 
 }
 
-class PropertyNotFoundExtension extends \RuntimeException {
+class PropertyNotFoundException extends \RuntimeException {
 
 
 
-}
\ No newline at end of file
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/64271
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05ebc17a54573f62cd39949f5d84e04dc3395010
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to