Completed
Push — master ( 8230b0...4b2fdd )
by Daryl
01:59
created
includes/class-marker-model.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     function latitude() {
84 84
         $latitude = 0;
85
-        if ( ! is_wp_error( $this->location() ) ) {
85
+        if ( !is_wp_error( $this->location() ) ) {
86 86
             $latitude = $this->location()->latitude();
87 87
         }
88 88
         return $latitude;
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @return Location|\WP_Error
93 93
      */
94 94
     function location() {
95
-        if ( ! is_object( $this->_location ) ) {
95
+        if ( !is_object( $this->_location ) ) {
96 96
             $this->_location = $this->_geocoder()->geocode( $this->_address );
97 97
         }
98 98
         return $this->_location;
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     function longitude() {
105 105
         $longitude = 0;
106
-        if ( ! is_wp_error( $this->location() ) ) {
106
+        if ( !is_wp_error( $this->location() ) ) {
107 107
             $longitude = $this->location()->longitude();
108 108
         }
109 109
         return $longitude;
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * @return Geocoder
150 150
      */
151 151
     private function _geocoder() {
152
-        if (! is_object( $this->_geocoder ) ) {
152
+        if ( !is_object( $this->_geocoder ) ) {
153 153
             $this->_geocoder = new Geocoder();
154 154
         }
155 155
 
Please login to merge, or discard this patch.