@@ -63,7 +63,7 @@ |
||
| 63 | 63 | break; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - if ( ! isset( $this->_location ) ) { |
|
| 66 | + if ( !isset($this->_location) ) { |
|
| 67 | 67 | break; |
| 68 | 68 | } |
| 69 | 69 | |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace Clubdeuce\WPLib\Components\GoogleMaps; |
| 4 | 4 | |
| 5 | -if ( ! class_exists( 'Clubdeuce\WPLib\Components\GoogleMaps\Model_Base' ) ): |
|
| 5 | +if ( !class_exists( 'Clubdeuce\WPLib\Components\GoogleMaps\Model_Base' ) ): |
|
| 6 | 6 | /** |
| 7 | 7 | * Class Model_Base |
| 8 | 8 | * @package Clubdeuce\WPLib\Components\GoogleMaps |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | $has = false; |
| 20 | 20 | |
| 21 | - if ( isset( $this->{$property} ) ) { |
|
| 21 | + if ( isset($this->{$property} ) ) { |
|
| 22 | 22 | $has = true; |
| 23 | 23 | } |
| 24 | 24 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | break; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if ( ! isset( $this->_label ) ) { |
|
| 40 | + if ( !isset($this->_label) ) { |
|
| 41 | 41 | break; |
| 42 | 42 | } |
| 43 | 43 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | function has_map() { |
| 24 | 24 | |
| 25 | - return $this->_has('_map' ); |
|
| 25 | + return $this->_has( '_map' ); |
|
| 26 | 26 | |
| 27 | 27 | } |
| 28 | 28 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | break; |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - if ( ! isset( $this->_map ) ) { |
|
| 46 | + if ( !isset($this->_map) ) { |
|
| 47 | 47 | break; |
| 48 | 48 | } |
| 49 | 49 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | function info_window() { |
| 50 | 50 | |
| 51 | 51 | $window = new Info_Window( array( 'info_window' => $this->marker()->info_window() ) ); |
| 52 | - $window->set_position( array( 'lat' => $this->marker()->latitude(), 'lng' => $this->marker()->longitude())); |
|
| 52 | + $window->set_position( array( 'lat' => $this->marker()->latitude(), 'lng' => $this->marker()->longitude() ) ); |
|
| 53 | 53 | |
| 54 | 54 | return $window; |
| 55 | 55 | |