@@ -101,7 +101,7 @@ |
||
101 | 101 | ]; |
102 | 102 | |
103 | 103 | $args = array_filter( $args, function( $value ) { |
104 | - return ! is_null( $value ); |
|
104 | + return !is_null( $value ); |
|
105 | 105 | } ); |
106 | 106 | |
107 | 107 | return $args; |
@@ -82,7 +82,7 @@ discard block |
||
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 |
||
92 | 92 | * @return Location |
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 |
||
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 |
||
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 |