Jeroen De Dauw has submitted this change and it was merged.

Change subject: Minor cleanup
......................................................................


Minor cleanup

Change-Id: I6b59586b4fda5b63caa986940d553f792daa4af4
---
M DataValues/includes/values/GeoCoordinateValue.php
M ValueParsers/includes/parsers/GeoCoordinateParserBase.php
2 files changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jeroen De Dauw: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/DataValues/includes/values/GeoCoordinateValue.php 
b/DataValues/includes/values/GeoCoordinateValue.php
index f6c0a57..5c237c9 100644
--- a/DataValues/includes/values/GeoCoordinateValue.php
+++ b/DataValues/includes/values/GeoCoordinateValue.php
@@ -113,7 +113,7 @@
                $this->longitude = $longitude;
                $this->altitude = $altitude;
                $this->precision = $precision;
-               $this->globe = ( is_null( $globe ) ) ? 
'http://www.wikidata.org/entity/Q2' : $globe;
+               $this->globe = is_null( $globe ) ? 
'http://www.wikidata.org/entity/Q2' : $globe;
        }
 
        /**
diff --git a/ValueParsers/includes/parsers/GeoCoordinateParserBase.php 
b/ValueParsers/includes/parsers/GeoCoordinateParserBase.php
index c22abc8..7f8423a 100644
--- a/ValueParsers/includes/parsers/GeoCoordinateParserBase.php
+++ b/ValueParsers/includes/parsers/GeoCoordinateParserBase.php
@@ -12,6 +12,7 @@
  *
  * @licence GNU GPL v2+
  * @author H. Snater < mediaw...@snater.com >
+ * @author Jeroen De Dauw < jeroended...@gmail.com >
  */
 abstract class GeoCoordinateParserBase extends StringValueParser {
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6b59586b4fda5b63caa986940d553f792daa4af4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to