Completed
Push — master ( b4eba1...fdd4bc )
by Daryl
02:13
created
includes/class-marker-model.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
      */
95 95
     function latitude() {
96 96
 
97
-        if ( is_null( $this->_latitude ) && ! is_wp_error( $this->location() ) ) {
98
-            $this->_latitude =$this->location()->latitude();
97
+        if ( is_null( $this->_latitude ) && !is_wp_error( $this->location() ) ) {
98
+            $this->_latitude = $this->location()->latitude();
99 99
         }
100 100
         return doubleval( $this->_latitude );
101 101
     }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @return Location|\WP_Error
105 105
      */
106 106
     function location() {
107
-        if ( ! is_object( $this->_location ) ) {
107
+        if ( !is_object( $this->_location ) ) {
108 108
             $this->_location = $this->_geocoder()->geocode( $this->_address );
109 109
         }
110 110
         return $this->_location;
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     function longitude() {
117 117
 
118
-        if ( is_null( $this->_longitude ) && ! is_wp_error( $this->location() ) ) {
118
+        if ( is_null( $this->_longitude ) && !is_wp_error( $this->location() ) ) {
119 119
             $this->_longitude = doubleval( $this->location()->longitude() );
120 120
         }
121 121
         return doubleval( $this->_longitude );
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      * @return Geocoder
162 162
      */
163 163
     private function _geocoder() {
164
-        if (! is_object( $this->_geocoder ) ) {
164
+        if ( !is_object( $this->_geocoder ) ) {
165 165
             $this->_geocoder = new Geocoder();
166 166
         }
167 167
 
Please login to merge, or discard this patch.