Completed
Push — master ( af65ed...6bddd0 )
by Daryl
10:04
created
includes/class-marker-view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * Class Marker_View
7 7
  * @package Clubdeuce\WPLib\Components\GoogleMaps
8 8
  */
9
-class Marker_View extends \WPLib_View_Base  {
9
+class Marker_View extends \WPLib_View_Base {
10 10
 
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
templates/map-view.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 <script type="application/javascript">
13 13
     jQuery(document).ready(function() {
14 14
         generate_map(
15
-            "<?php echo esc_js($map_id); ?>",
16
-            <?php echo json_encode($map_params); ?>,
17
-            <?php echo json_encode($markers); ?>,
18
-            <?php echo json_encode($info_windows); ?>
15
+            "<?php echo esc_js( $map_id ); ?>",
16
+            <?php echo json_encode( $map_params ); ?>,
17
+            <?php echo json_encode( $markers ); ?>,
18
+            <?php echo json_encode( $info_windows ); ?>
19 19
         );
20 20
     });
21 21
 </script>
Please login to merge, or discard this patch.
includes/class-location-model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 			    break;
64 64
 		    }
65 65
 
66
-		    if ( ! isset( $this->_location ) ) {
66
+		    if ( !isset($this->_location) ) {
67 67
 		    	break;
68 68
 		    }
69 69
 
Please login to merge, or discard this patch.
includes/class-marker-label-model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 				break;
38 38
 			}
39 39
 
40
-			if ( ! isset( $this->_label ) ) {
40
+			if ( !isset($this->_label) ) {
41 41
 				break;
42 42
 			}
43 43
 
Please login to merge, or discard this patch.
includes/class-map-model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
43 43
 				break;
44 44
 			}
45 45
 
46
-			if ( ! isset( $this->_map ) ) {
46
+			if ( !isset($this->_map) ) {
47 47
 				break;
48 48
 			}
49 49
 
Please login to merge, or discard this patch.
includes/class-marker-model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
includes/class-model-base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
 		$has = false;
19 19
 
20
-		if ( isset( $this->{$property} ) ) {
20
+		if ( isset($this->{$property} ) ) {
21 21
 			$has = true;
22 22
 		}
23 23
 
Please login to merge, or discard this patch.
includes/class-map.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	function __construct( $args = array() ) {
31 31
 
32 32
 		$args = wp_parse_args( $args, array(
33
-			'model' => new Map_Model( array( 'map' => new \Clubdeuce\WPGoogleMaps\Map( $args ) ) ),
33
+			'model' => new Map_Model( array( 'map' => new \Clubdeuce\WPGoogleMaps\Map($args) ) ),
34 34
 		) );
35 35
 
36 36
 		parent::__construct( $args );
Please login to merge, or discard this patch.
includes/class-marker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	function __construct( $args = array() ) {
29 29
 
30 30
 		$args = wp_parse_args( $args, array(
31
-			'model' => new Marker_Model( array( 'marker' => new \Clubdeuce\WPGoogleMaps\Marker( $args ) ) ),
31
+			'model' => new Marker_Model( array( 'marker' => new \Clubdeuce\WPGoogleMaps\Marker($args) ) ),
32 32
 		) );
33 33
 
34 34
 		parent::__construct( $args );
Please login to merge, or discard this patch.