Completed
Push — master ( 898e77...f00d09 )
by Daryl
04:31
created
includes/class-marker-label-model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
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
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.